summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r--src/modules/m_nokicks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index b060d87f8..db77184d6 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -18,7 +18,7 @@
class NoKicks : public SimpleChannelModeHandler
{
public:
- NoKicks(InspIRCd* Instance, Module* Creator) : SimpleChannelModeHandler(Instance, Creator, 'Q') { }
+ NoKicks(Module* Creator) : SimpleChannelModeHandler(Creator, 'Q') { }
};
class ModuleNoKicks : public Module
@@ -26,8 +26,8 @@ class ModuleNoKicks : public Module
NoKicks nk;
public:
- ModuleNoKicks(InspIRCd* Me)
- : Module(Me), nk(Me, this)
+ ModuleNoKicks()
+ : nk(this)
{
if (!ServerInstance->Modes->AddMode(&nk))
throw ModuleException("Could not add new modes!");