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/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 354e16bc9..13716b78b 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1229,7 +1229,7 @@ void purge_empty_chans(userrec* u) if (i2 != chanlist.end()) { FOREACH_MOD(I_OnChannelDelete,OnChannelDelete(i2->second)); - delete i2->second; + DELETE(i2->second); chanlist.erase(i2); } } -- cgit v1.2.3