diff options
| author | 2014-08-03 18:52:44 +1000 | |
|---|---|---|
| committer | 2014-08-04 11:01:59 +0200 | |
| commit | cd1d8b7f0f4922bc35a5ca3974993f0106431fc8 (patch) | |
| tree | c981b7ab1c81c949de82f6ec66e16837a1f82610 /src/usermanager.cpp | |
| parent | Differ database error messages for m_permchannels and m_xline_db (diff) | |
Fix off by one in ping timeout.
Been bugging me that users ping timeout at 121 rather than 120 seconds by default.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 2dcee852c..52cb4989f 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -301,7 +301,7 @@ void UserManager::DoBackgroundUserStuff() switch (curr->registered) { case REG_ALL: - if (ServerInstance->Time() > curr->nping) + if (ServerInstance->Time() >= curr->nping) { // This user didn't answer the last ping, remove them if (!curr->lastping) |
