From 0549fb41568be278319326ae55be69018e2e5aa8 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Aug 2007 19:27:19 +0000 Subject: DELETE() -> delete git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7973 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 0fef4d33b..16629d700 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -189,9 +189,11 @@ class ModuleIdent : public Module Conf = new ConfigReader(ServerInstance); IdentTimeout = Conf->ReadInteger("ident", "timeout", 0, true); PortBind = Conf->ReadValue("ident", "bind", 0); + if (!IdentTimeout) IdentTimeout = 1; - DELETE(Conf); + + delete Conf; } ModuleIdent(InspIRCd* Me) -- cgit v1.3.1-10-gc9f91