summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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");
}
}