]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nopartmsg.cpp
Merge pull request #495 from SaberUK/master+fix-libcpp
[user/henk/code/inspircd.git] / src / modules / m_nopartmsg.cpp
index 0daf48c1065c9edd8895a602d49c3c190713720b..be01fa6c01cac38d84142558c5079c883b7f6d86 100644 (file)
@@ -44,9 +44,9 @@ class ModulePartMsgBan : public Module
                        partmessage.clear();
        }
 
-       virtual void On005Numeric(std::string &output)
+       virtual void On005Numeric(std::map<std::string, std::string>& tokens)
        {
-               ServerInstance->AddExtBanChar('p');
+               tokens["EXTBAN"].push_back('p');
        }
 };