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