From 470f46ae578daf0475262d843914a47240389db8 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 26 Jan 2006 12:54:47 +0000 Subject: Default ident timeout to 1 sec if not defined (a bit low, but better than 0!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2918 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 1e9933516..eb8f4df16 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -146,6 +146,8 @@ class ModuleIdent : public Module { Conf = new ConfigReader; IdentTimeout = Conf->ReadInteger("ident","timeout",0,true); + if (!IdentTimeout) + IdentTimeout = 1; delete Conf; } -- cgit v1.2.3