From 5d407fb44c759524881712a80febb86b4506ddbf Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Apr 2006 13:28:07 +0000 Subject: delete operator tracking in debug mode (using a macro -- live with it.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hostchange.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_hostchange.cpp') diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index a4a5a8b08..21333a853 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -52,7 +52,7 @@ class ModuleHostChange : public Module virtual ~ModuleHostChange() { - delete Conf; + DELETE(Conf); } Priority Prioritize() @@ -67,12 +67,12 @@ class ModuleHostChange : public Module virtual void OnRehash(const std::string ¶meter) { - delete Conf; + DELETE(Conf); Conf = new ConfigReader; MySuffix = Conf->ReadValue("host","suffix",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