summaryrefslogtreecommitdiff
path: root/src/modules/m_chanprotect.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:24:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 21:24:40 +0000
commit12b9855339a3bbd05cc0636588ea68bf8db390f5 (patch)
treedd0ad2fc31061f3b3e150291f0583a3e304fc9f6 /src/modules/m_chanprotect.cpp
parent38d5fd9b40e126bfde51022dac8d5a8a1ff787a9 (diff)
Honking huge commit. Removal of DELETE() template that never worked right anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r--src/modules/m_chanprotect.cpp8
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()