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_park.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_park.cpp') diff --git a/src/modules/m_park.cpp b/src/modules/m_park.cpp index 935efa39c..7abe31baf 100644 --- a/src/modules/m_park.cpp +++ b/src/modules/m_park.cpp @@ -176,7 +176,7 @@ class cmd_unpark : public command_t timebuf[strlen(timebuf)-1] = '\0'; WriteServ(unpark->fd,"NOTICE %s :From %s at %s: \2%s\2",unpark->nick,i->from.c_str(),timebuf,i->text.c_str()); } - delete awy; + DELETE(awy); unpark->Shrink("park_awaylog"); unpark->Shrink("park_key"); for (parkinfo::iterator j = pinfo.begin(); j != pinfo.end(); j++) @@ -209,7 +209,7 @@ class ModulePark : public Module ParkMaxTime = Conf->ReadInteger("park","maxtime",0,true); ConcurrentParks = Conf->ReadInteger("park","maxperip",0,true); ParkMaxMsgs = Conf->ReadInteger("park","maxmessages",0,true); - delete Conf; + DELETE(Conf); } ModulePark(Server* Me) -- cgit v1.3.1-10-gc9f91