summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}