diff options
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 67ccfccd6..b90765ec1 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -358,8 +358,8 @@ class ModuleChanProtect : public Module { ServerInstance->Modes->DelMode(cp); ServerInstance->Modes->DelMode(cf); - DELETE(cp); - DELETE(cf); + delete cp; + delete cf; cp = new ChanProtect(ServerInstance,QAPrefixes,DeprivSelf,DeprivOthers); cf = new ChanFounder(ServerInstance,QAPrefixes,DeprivSelf,DeprivOthers); /* These wont fail, we already owned the mode characters before */ @@ -481,8 +481,8 @@ class ModuleChanProtect : public Module { ServerInstance->Modes->DelMode(cp); ServerInstance->Modes->DelMode(cf); - DELETE(cp); - DELETE(cf); + delete cp; + delete cf; } virtual Version GetVersion() |