summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index e7aa9f7a9..16cc8a679 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -262,7 +262,7 @@ class ModuleRemove : public Module
mycommand2 = new cmd_fpart(ServerInstance, supportnokicks);
ServerInstance->AddCommand(mycommand);
ServerInstance->AddCommand(mycommand2);
- OnRehash("");
+ OnRehash(NULL,"");
}
void Implements(char* List)
@@ -275,7 +275,7 @@ class ModuleRemove : public Module
output.append(" REMOVE");
}
- virtual void OnRehash(const std::string&)
+ virtual void OnRehash(userrec* user, const std::string&)
{
ConfigReader conf(ServerInstance);
supportnokicks = conf.ReadFlag("remove", "supportnokicks", 0);