]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanprotect.cpp
Fix for bug #541: /taxonomy reporting metadata for incorrect user. Can someone please...
[user/henk/code/inspircd.git] / src / modules / m_chanprotect.cpp
index cd84d9c5f2629cc5cb497a58ef8dc03a2fbbc809..0145907452901a96f1fbecc413ad591b6f3774ff 100644 (file)
@@ -329,7 +329,7 @@ class ModuleChanProtect : public Module
                user->Shrink("cm_protect_"+std::string(chan->name));
        }
 
-       virtual void OnUserPart(User* user, Channel* channel, const std::string &partreason, bool &silent)
+       virtual void OnUserPart(User* user, Channel* channel, std::string &partreason, bool &silent)
        {
                // FIX: when someone parts a channel we must remove their Extensibles!
                user->Shrink("cm_founder_"+std::string(channel->name));