]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Fix excessive snomask sending on fitler add/removal
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 91c005bee381b4cf3620830e9018b7280db4b7c9..f6e38c2136bc6e515d5501caeeb90be4a284c2a8 100644 (file)
@@ -70,7 +70,7 @@ class ModuleSetHost : public Module
        ModuleSetHost(InspIRCd* Me)
                : Module(Me)
        {
-               OnRehash(NULL,"");
+               OnRehash(NULL);
                mycommand = new CommandSethost(ServerInstance, hostmap);
                ServerInstance->AddCommand(mycommand);
                Implementation eventlist[] = { I_OnRehash };
@@ -78,7 +78,7 @@ class ModuleSetHost : 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);
@@ -97,7 +97,7 @@ class ModuleSetHost : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 
 };