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 e0f69faba..3d4d29f74 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -75,7 +75,7 @@ class ModuleChgHost : public Module ModuleChgHost(InspIRCd* Me) : Module::Module(Me) { - OnRehash(""); + OnRehash(NULL,""); mycommand = new cmd_chghost(ServerInstance, hostmap); ServerInstance->AddCommand(mycommand); } @@ -85,7 +85,7 @@ class ModuleChgHost : public Module List[I_OnRehash] = 1; } - void OnRehash(const std::string ¶meter) + void OnRehash(userrec* user, const std::string ¶meter) { ConfigReader Conf(ServerInstance); std::string hmap = Conf.ReadValue("hostname", "charmap", 0); |