]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.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_sethost.cpp
index 048756b6d20290261f2c6aaa1c602667432e1c50..6e984a62eab2aab8f38e3ab1c8a9a4a3c9d380a8 100644 (file)
@@ -69,7 +69,7 @@ class ModuleSetHost : public Module
        ModuleSetHost(InspIRCd* Me)
                : Module::Module(Me)
        {       
-               OnRehash("");
+               OnRehash(NULL,"");
                mycommand = new cmd_sethost(ServerInstance, hostmap);
                ServerInstance->AddCommand(mycommand);
        }
@@ -79,7 +79,7 @@ class ModuleSetHost : public Module
                List[I_OnRehash] = 1;
        }
 
-       void OnRehash(const std::string &parameter)
+       void OnRehash(userrec* user, const std::string &parameter)
        {
                ConfigReader Conf(ServerInstance);
                std::string hmap = Conf.ReadValue("hostname", "charmap", 0);