]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_gecosban.cpp
Convert ISUPPORT to use a map instead of a string.
[user/henk/code/inspircd.git] / src / modules / m_gecosban.cpp
index 4b1fb59e0126e9e1845ed59daac91c001b19eb83..b33362a8df281f1905256df66f026b981bd5e0b7 100644 (file)
@@ -45,9 +45,9 @@ class ModuleGecosBan : public Module
                return MOD_RES_PASSTHRU;
        }
 
-       void On005Numeric(std::string &output)
+       void On005Numeric(std::map<std::string, std::string>& tokens)
        {
-               ServerInstance->AddExtBanChar('r');
+               tokens["EXTBAN"].push_back('r');
        }
 };