X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sethost.cpp;h=f6e38c2136bc6e515d5501caeeb90be4a284c2a8;hb=8be88f3e732e7a40f2e501c5e5b78c7f1b999f2d;hp=91c005bee381b4cf3620830e9018b7280db4b7c9;hpb=b0884a94ef85f28fa964adc1b4f0732f2986ca7a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 91c005bee..f6e38c213 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -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 ¶meter) + 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); } };