]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_allowinvite.cpp
Remove InspIRCd* parameters and fields
[user/henk/code/inspircd.git] / src / modules / m_allowinvite.cpp
index ae4e0b92e83271d3eae50bd211a31d6a48ed7a6e..0de9925015184107406cd975a44b98344a3f0c09 100644 (file)
@@ -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!");