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 09f60ad19..ef60639f4 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -187,7 +187,7 @@ class ModuleRemove : public Module
public:
- ModuleRemove(InspIRCd*) : cmd1(this, supportnokicks), cmd2(this, supportnokicks)
+ ModuleRemove() : cmd1(this, supportnokicks), cmd2(this, supportnokicks)
{
ServerInstance->AddCommand(&cmd1);
ServerInstance->AddCommand(&cmd2);
@@ -204,7 +204,7 @@ class ModuleRemove : public Module
virtual void OnRehash(User* user)
{
- ConfigReader conf(ServerInstance);
+ ConfigReader conf;
supportnokicks = conf.ReadFlag("remove", "supportnokicks", 0);
}