From 972328a2656088a1f2a68faf9c00ec0d98853031 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 18 Aug 2006 23:55:04 +0000 Subject: [PATCH] Fix timeouts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4977 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 6c2f0cf52..eab8f537a 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -234,10 +234,13 @@ class ModuleIdent : public Module RFC1413* ident; if (user->GetExt("ident_data", ident)) { - if (ident->timeout_end > ServerInstance->Time()) + /*ServerInstance->Log(DEBUG,"TIMES: %lu %lu",ident->timeout_end, ServerInstance->Time());*/ + if (ServerInstance->Time() > ident->timeout_end) { ident->u = NULL; ServerInstance->RemoveSocket(ident); + user->Shrink("ident_data"); + return true; } } return (!user->GetExt("ident_data", ident)); -- 2.39.5