diff options
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r-- | src/modules/m_chghost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 4e2725af4..e29bb1bed 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -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 ¶meter) + void OnRehash(User* user) { ConfigReader Conf(ServerInstance); std::string hmap = Conf.ReadValue("hostname", "charmap", 0); |