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_silence.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_silence.cpp') diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 703a17b43..651d705a1 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -83,7 +83,7 @@ class CommandSilence : public Command { // tidy up -- if a user's list is empty, theres no use having it // hanging around in the user record. - DELETE(sl); + delete sl; user->Shrink("silence_list"); } } @@ -160,7 +160,7 @@ class ModuleSilence : public Module user->GetExt("silence_list", sl); if (sl) { - DELETE(sl); + delete sl; user->Shrink("silence_list"); } } -- cgit v1.2.3