diff options
| author | 2007-07-23 21:23:59 +0000 | |
|---|---|---|
| committer | 2007-07-23 21:23:59 +0000 | |
| commit | 532d3203ff87a3f41f1a370c6ff3ec0efcf239cc (patch) | |
| tree | abd28af0947af2bf8e8416d1261459259f46a745 /src/userprocess.cpp | |
| parent | Block 7517-7518 (diff) | |
Merge 7519 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 3b9e717df..96eba0469 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -275,7 +275,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) /* Everybody loves boobies. */ time_t time = this->Time(false) - (curr->nping - curr->pingmax); char message[MAXBUF]; - snprintf(message, MAXBUF, "Ping timeout: %ld second%s", time, time > 1 ? "s" : ""); + snprintf(message, MAXBUF, "Ping timeout: %ld second%s", (long)time, time > 1 ? "s" : ""); curr->muted = true; GlobalCulls.AddItem(curr, message); curr->lastping = 1; |
