summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-01 16:16:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-01 16:16:48 +0000
commit1d1cfde1eea889e8853a0524bd27b20008add178 (patch)
treef24d9294b96fbe9a041587d45425f36c582bf422 /src
parent4b0f6c610f755e0cb93843d5a2a6c70336eafe39 (diff)
Everybody loves boobies. It's true.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5367 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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;