summaryrefslogtreecommitdiff
path: root/src/modules/m_chanprotect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r--src/modules/m_chanprotect.cpp2
1 files changed, 0 insertions, 2 deletions
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;
}