]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_censor.cpp
Clean up challenge generation to not include character 0x7F, and fix some other thing...
[user/henk/code/inspircd.git] / src / modules / m_censor.cpp
index 43fab4006fc95d02d90c1c43d0099c1be1ebe560..0f1c3f61c72a0cfc3dd73053363516867305538f 100644 (file)
@@ -49,7 +49,7 @@ class ModuleCensor : public Module
        {
                /* Read the configuration file on startup.
                 */
-               OnRehash(NULL,"");
+               OnRehash(NULL);
                cu = new CensorUser(ServerInstance);
                cc = new CensorChannel(ServerInstance);
                if (!ServerInstance->Modes->AddMode(cu) || !ServerInstance->Modes->AddMode(cc))
@@ -117,7 +117,7 @@ class ModuleCensor : public Module
                return OnUserPreMessage(user,dest,target_type,text,status,exempt_list);
        }
 
-       virtual void OnRehash(User* user, const std::string &parameter)
+       virtual void OnRehash(User* user)
        {
                /*
                 * reload our config file on rehash - we must destroy and re-allocate the classes