From 12b9855339a3bbd05cc0636588ea68bf8db390f5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 21:24:40 +0000 Subject: 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 --- src/modules/m_joinflood.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_joinflood.cpp') diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 6b0b97bd5..798193659 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -194,7 +194,7 @@ class JoinFlood : public ModeHandler { joinfloodsettings *f; channel->GetExt("joinflood", f); - DELETE(f); + delete f; channel->Shrink("joinflood"); channel->SetMode('j', false); return MODEACTION_ALLOW; @@ -259,7 +259,7 @@ class ModuleJoinFlood : public Module joinfloodsettings *f; if (chan->GetExt("joinflood",f)) { - DELETE(f); + delete f; chan->Shrink("joinflood"); } } @@ -272,7 +272,7 @@ class ModuleJoinFlood : public Module virtual ~ModuleJoinFlood() { ServerInstance->Modes->DelMode(jf); - DELETE(jf); + delete jf; } virtual Version GetVersion() -- cgit v1.2.3