]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_remove.cpp
Remove some debug (im on a crusade to make debug mode useful, but at the same time...
[user/henk/code/inspircd.git] / src / modules / m_remove.cpp
index e7aa9f7a978b88b44e5317ca303a0daa0bef31a6..16cc8a67935d0f530161a452d1081a36663bfc5f 100644 (file)
@@ -262,7 +262,7 @@ class ModuleRemove : public Module
                mycommand2 = new cmd_fpart(ServerInstance, supportnokicks);
                ServerInstance->AddCommand(mycommand);
                ServerInstance->AddCommand(mycommand2);
-               OnRehash("");
+               OnRehash(NULL,"");
        }
 
        void Implements(char* List)
@@ -275,7 +275,7 @@ class ModuleRemove : public Module
                output.append(" REMOVE");
        }
        
-       virtual void OnRehash(const std::string&)
+       virtual void OnRehash(userrec* user, const std::string&)
        {
                ConfigReader conf(ServerInstance);
                supportnokicks = conf.ReadFlag("remove", "supportnokicks", 0);