summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/userprocess.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 49a5adcca..1a5d7f2f7 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -294,6 +294,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME)
if (!curr->lastping)
{
time_t last_activity = curr->nping - curr->pingmax;
+ /* Everybody loves boobies. */
std::string boobies = "Ping timeout: " + ConvToStr(last_activity <= 0 ? curr->pingmax : last_activity) + " second(s)";
GlobalGoners.AddItem(curr, boobies);
curr->lastping = 1;