X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_allowinvite.cpp;h=0de9925015184107406cd975a44b98344a3f0c09;hb=7107ec12d8640d35cfe3d5002db1bc1deb33625d;hp=ae4e0b92e83271d3eae50bd211a31d6a48ed7a6e;hpb=7d93921aabd9c608821baec8a871aff844dfae49;p=user%2Fhenk%2Fcode%2Finspircd.git 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!");