X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_chanprotect.cpp;h=ef6c129e11358ea9356f4eeaf8875f455a7aadac;hb=9336468f5bfa60318cb57db5126047147b7a21cb;hp=12b5c1db421ca22cef5293ef98d05941ba48afd3;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 12b5c1db4..ef6c129e1 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -327,8 +327,6 @@ class ModuleChanProtect : public Module ~ModuleChanProtect() { - ServerInstance->Modes->DelMode(cp); - ServerInstance->Modes->DelMode(cf); delete cp; delete cf; }