]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banexception.cpp
Merge insp20
[user/henk/code/inspircd.git] / src / modules / m_banexception.cpp
index c521c5405735f8b94e5e4e0ea1ef3d80e83d5b64..63f0085eda4de188720dba0c16cd907d362f659a 100644 (file)
@@ -25,7 +25,6 @@
 #include "listmode.h"
 
 /* $ModDesc: Provides support for the +e channel mode */
-/* $ModDep: ../../include/listmode.h */
 
 /* Written by Om<om@inspircd.org>, April 2005. */
 /* Rewritten to use the listmode utility by Om, December 2005 */
@@ -63,9 +62,9 @@ class ModuleBanException : public Module
                ServerInstance->Modules->Attach(list, this, sizeof(list)/sizeof(Implementation));
        }
 
-       void On005Numeric(std::string &output)
+       void On005Numeric(std::map<std::string, std::string>& tokens)
        {
-               output.append(" EXCEPTS=e");
+               tokens["EXCEPTS"] = "e";
        }
 
        ModResult OnExtBanCheck(User *user, Channel *chan, char type)