diff options
| author | 2014-02-04 06:37:21 -0500 | |
|---|---|---|
| committer | 2014-02-04 06:37:21 -0500 | |
| commit | 178defb45ed40b6d9bfab5466d6ffeeecfa3fa44 (patch) | |
| tree | 691abbc08853093387b1abfb4ad898d8dff6ee47 /src/usermanager.cpp | |
| parent | Remove a few unnecessary .c_str() calls (diff) | |
Fix ping timeout message seconds vs second
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 b5050d91a..5d428a15f 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -337,7 +337,7 @@ void UserManager::DoBackgroundUserStuff() if (!curr->lastping) { time_t time = ServerInstance->Time() - (curr->nping - curr->MyClass->GetPingTime()); - const std::string message = "Ping timeout: " + ConvToStr(time) + (time == 1 ? " seconds" : " second"); + const std::string message = "Ping timeout: " + ConvToStr(time) + (time != 1 ? " seconds" : " second"); this->QuitUser(curr, message); continue; } |
