From: om Date: Mon, 15 Jan 2007 21:46:26 +0000 (+0000) Subject: delete -> DELETE() X-Git-Tag: v2.0.23~6034 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=be60154f885d7b53e63759cd01391521bf14017f;p=user%2Fhenk%2Fcode%2Finspircd.git delete -> DELETE() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6352 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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"); } }