X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_allowinvite.cpp;h=ae6c14c1f6d38a551cce21648e63b374b45ab819;hb=c4d6ce8c5e1802e5b834d5845e31c3adf7700585;hp=0de9925015184107406cd975a44b98344a3f0c09;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_allowinvite.cpp b/src/modules/m_allowinvite.cpp index 0de992501..ae6c14c1f 100644 --- a/src/modules/m_allowinvite.cpp +++ b/src/modules/m_allowinvite.cpp @@ -18,7 +18,7 @@ class AllowInvite : public SimpleChannelModeHandler { public: - AllowInvite(Module* Creator) : SimpleChannelModeHandler(Creator, 'A') { } + AllowInvite(Module* Creator) : SimpleChannelModeHandler(Creator, "allowinvite", 'A') { } }; class ModuleAllowInvite : public Module @@ -62,7 +62,6 @@ class ModuleAllowInvite : public Module virtual ~ModuleAllowInvite() { - ServerInstance->Modes->DelMode(&ni); } virtual Version GetVersion()