summaryrefslogtreecommitdiff
path: root/src/modules/m_sethost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r--src/modules/m_sethost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index 048756b6d..6e984a62e 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -69,7 +69,7 @@ class ModuleSetHost : public Module
ModuleSetHost(InspIRCd* Me)
: Module::Module(Me)
{
- OnRehash("");
+ OnRehash(NULL,"");
mycommand = new cmd_sethost(ServerInstance, hostmap);
ServerInstance->AddCommand(mycommand);
}
@@ -79,7 +79,7 @@ class ModuleSetHost : public Module
List[I_OnRehash] = 1;
}
- void OnRehash(const std::string &parameter)
+ void OnRehash(userrec* user, const std::string &parameter)
{
ConfigReader Conf(ServerInstance);
std::string hmap = Conf.ReadValue("hostname", "charmap", 0);