summaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index e2f9310d6..28b3b1c50 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -77,7 +77,7 @@ class CommandKnock : public Command
class Knock : public SimpleChannelModeHandler
{
public:
- Knock(InspIRCd* Instance, Module* Creator) : SimpleChannelModeHandler(Instance, Creator, 'K') { }
+ Knock(Module* Creator) : SimpleChannelModeHandler(Creator, 'K') { }
};
class ModuleKnock : public Module
@@ -85,7 +85,7 @@ class ModuleKnock : public Module
CommandKnock cmd;
Knock kn;
public:
- ModuleKnock(InspIRCd* Me) : Module(Me), cmd(this), kn(Me, this)
+ ModuleKnock() : cmd(this), kn(this)
{
if (!ServerInstance->Modes->AddMode(&kn))
throw ModuleException("Could not add new modes!");