aboutsummaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-10-04 16:26:54 +0200
committerGravatar Attila Molnar2014-10-04 16:26:54 +0200
commit3db020ca0ba7d5dc797c07885b1d9f80def2b00d (patch)
tree72f3f8895c668ebf23e612cdea3d7068adea6d34 /src/userprocess.cpp
parentm_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t struc... (diff)
parentFix an off-by-one on registration timeout handling. (diff)
Merge pull request #929 from rburchell/insp20
Fix an off-by-one on registration timeout handling.
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 9cc2e7df7..fe90e2381 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -107,7 +107,7 @@ void InspIRCd::DoBackgroundUserStuff()
break;
}
- if (curr->registered != REG_ALL && (Time() > (curr->age + curr->MyClass->GetRegTimeout())))
+ if (curr->registered != REG_ALL && (Time() >= (curr->age + curr->MyClass->GetRegTimeout())))
{
/*
* registration timeout -- didnt send USER/NICK/HOST