]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ident.cpp
delete operator tracking in debug mode (using a macro -- live with it.)
[user/henk/code/inspircd.git] / src / modules / m_ident.cpp
index 9136d1349dcf2d765b24a2de7df554269e29c83a..2669c9254214f2de384d3c8767feb47ad38a1324 100644 (file)
@@ -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);
                }
        }