diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-10-06 17:21:08 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-10-06 17:21:08 +0200 |
commit | 65b8c4f0decd5b834794db2bcb24ceb45ffad9cf (patch) | |
tree | 41bb227f9a6964a4db7137aaf0da2878fd9ff03a /src | |
parent | 3db020ca0ba7d5dc797c07885b1d9f80def2b00d (diff) | |
parent | d4d907fcb3a98a7d17093c1488666eea6bfd9848 (diff) |
Merge pull request #930 from rburchell/revertfix
Revert "Fix an off-by-one on registration timeout handling."
Diffstat (limited to 'src')
-rw-r--r-- | src/userprocess.cpp | 2 |
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 |