diff options
| author | 2006-04-24 13:28:07 +0000 | |
|---|---|---|
| committer | 2006-04-24 13:28:07 +0000 | |
| commit | 5d407fb44c759524881712a80febb86b4506ddbf (patch) | |
| tree | f0f426e645518a859ad25284f478854818a92da8 /src/modules/m_ident.cpp | |
| parent | Forward-port of 1.0.4 tweak (diff) | |
| download | inspircd++-5d407fb44c759524881712a80febb86b4506ddbf.tar.gz inspircd++-5d407fb44c759524881712a80febb86b4506ddbf.tar.bz2 inspircd++-5d407fb44c759524881712a80febb86b4506ddbf.zip | |
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
Diffstat (limited to 'src/modules/m_ident.cpp')
| -rw-r--r-- | src/modules/m_ident.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 9136d1349..2669c9254 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -149,7 +149,7 @@ class ModuleIdent : public Module IdentTimeout = Conf->ReadInteger("ident","timeout",0,true); if (!IdentTimeout) IdentTimeout = 1; - delete Conf; + DELETE(Conf); } ModuleIdent(Server* Me) @@ -187,7 +187,7 @@ class ModuleIdent : public Module else { Srv->SendServ(user->fd,"NOTICE "+std::string(user->nick)+" :*** Could not find your ident, using "+std::string(user->ident)+" instead."); - delete ident; + DELETE(ident); } } |
