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_hostchange.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_hostchange.cpp') diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index cd89d7cfd..dc9da3799 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -49,7 +49,7 @@ class ModuleHostChange : public Module { for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++) { - DELETE(i->second); + delete i->second; } hostchanges.clear(); } @@ -73,7 +73,7 @@ class ModuleHostChange : public Module MySeparator = Conf.ReadValue("host","separator",".",0); for (hostchanges_t::iterator i = hostchanges.begin(); i != hostchanges.end(); i++) { - DELETE(i->second); + delete i->second; } hostchanges.clear(); for (int index = 0; index < Conf.Enumerate("hostchange"); index++) -- cgit v1.3.1-10-gc9f91