diff options
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); } } |