summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-06 17:21:08 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-10-06 17:21:08 +0200
commit65b8c4f0decd5b834794db2bcb24ceb45ffad9cf (patch)
tree41bb227f9a6964a4db7137aaf0da2878fd9ff03a
parent3db020ca0ba7d5dc797c07885b1d9f80def2b00d (diff)
parentd4d907fcb3a98a7d17093c1488666eea6bfd9848 (diff)
Merge pull request #930 from rburchell/revertfix
Revert "Fix an off-by-one on registration timeout handling."
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index fe90e2381..9cc2e7df7 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