]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chghost.cpp
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
[user/henk/code/inspircd.git] / src / modules / m_chghost.cpp
index 4e2725af4b9a077bfa895b78e497fe8e6bc9040a..e29bb1bed915b853c08f795ef19cbeacceba7b27 100644 (file)
@@ -87,7 +87,7 @@ class ModuleChgHost : public Module
        ModuleChgHost(InspIRCd* Me)
                : Module(Me)
        {
-               OnRehash(NULL,"");
+               OnRehash(NULL);
                mycommand = new CommandChghost(ServerInstance, hostmap);
                ServerInstance->AddCommand(mycommand);
                Implementation eventlist[] = { I_OnRehash };
@@ -95,7 +95,7 @@ class ModuleChgHost : public Module
        }
 
 
-       void OnRehash(User* user, const std::string &parameter)
+       void OnRehash(User* user)
        {
                ConfigReader Conf(ServerInstance);
                std::string hmap = Conf.ReadValue("hostname", "charmap", 0);