diff options
Diffstat (limited to 'src/modules/m_gecosban.cpp')
-rw-r--r-- | src/modules/m_gecosban.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp index 614320623..a59508e06 100644 --- a/src/modules/m_gecosban.cpp +++ b/src/modules/m_gecosban.cpp @@ -54,10 +54,7 @@ class ModuleGecosBan : public Module virtual void On005Numeric(std::string &output) { - if (output.find(" EXTBAN=:") == std::string::npos) - output.append(" EXTBAN=:r"); - else - output.insert(output.find(" EXTBAN=:") + 9, "r"); + ServerInstance->AddExtBanChar('r'); } }; |