summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usermanager.cpp2
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;
}