summaryrefslogtreecommitdiff
path: root/src/modules/m_allowinvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_allowinvite.cpp')
-rw-r--r--src/modules/m_allowinvite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_allowinvite.cpp b/src/modules/m_allowinvite.cpp
index ae4e0b92e..0de992501 100644
--- a/src/modules/m_allowinvite.cpp
+++ b/src/modules/m_allowinvite.cpp
@@ -18,7 +18,7 @@
class AllowInvite : public SimpleChannelModeHandler
{
public:
- AllowInvite(InspIRCd* Instance, Module* Creator) : SimpleChannelModeHandler(Instance, Creator, 'A') { }
+ AllowInvite(Module* Creator) : SimpleChannelModeHandler(Creator, 'A') { }
};
class ModuleAllowInvite : public Module
@@ -26,7 +26,7 @@ class ModuleAllowInvite : public Module
AllowInvite ni;
public:
- ModuleAllowInvite(InspIRCd* Me) : Module(Me), ni(Me, this)
+ ModuleAllowInvite() : ni(this)
{
if (!ServerInstance->Modes->AddMode(&ni))
throw ModuleException("Could not add new modes!");