summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-15 21:46:26 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-15 21:46:26 +0000
commitbe60154f885d7b53e63759cd01391521bf14017f (patch)
treebb8ef4c597f938af500d0e7276003123cc5a4aed
parent214b0c201bb8d121ad3506654e25a0a7ac362ef1 (diff)
delete -> DELETE()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6352 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_banredirect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index 6e2f196e2..773badb57 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -158,7 +158,7 @@ class BanRedirect : public ModeWatcher
if(redirects->empty())
{
- delete redirects;
+ DELETE(redirects);
channel->Shrink("banredirects");
}
@@ -249,8 +249,8 @@ class ModuleBanRedirect : public Module
Srv->SendMode(mode_junk, stackresult.size() + 1, myhorriblefakeuser);
}
- delete myhorriblefakeuser;
- delete redirects;
+ DELETE(myhorriblefakeuser);
+ DELETE(redirects);
chan->Shrink("banredirects");
}
}