diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ident.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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)); |