diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-01 12:22:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-01 12:22:11 +0000 |
commit | 651936d904ab32cfaace233ecd5ff159e6a22c13 (patch) | |
tree | 961cc3cf427a31adde0d86bdd9870cba0af19af1 /src/userprocess.cpp | |
parent | 8199f4dd3e64450d464c0ac97b34d90c165df066 (diff) |
Compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7417 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 36523e522..b27844fb6 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: %d second%s", time, time > 1 ? "s" : ""); + snprintf(message, MAXBUF, "Ping timeout: %ld second%s", time, time > 1 ? "s" : ""); curr->muted = true; GlobalCulls.AddItem(curr, message); curr->lastping = 1; |