diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-22 16:40:02 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-22 16:40:02 +0000 |
commit | 29b51086b95c86f812ac35ed7d3333f060ba5a8c (patch) | |
tree | 89aa4084906075fac71ebfbafd627ae2f60732fa /src/userprocess.cpp | |
parent | 6dd148749fc9f141746ad26b5c6d606560f448ad (diff) |
Nuke TIMESYNC from orbit \o/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 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 dd1ca1799..3ba09a759 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -216,7 +216,7 @@ void InspIRCd::DoBackgroundUserStuff() // This user didn't answer the last ping, remove them if (!curr->lastping) { - time_t time = this->Time(false) - (curr->nping - curr->MyClass->GetPingTime()); + time_t time = this->Time() - (curr->nping - curr->MyClass->GetPingTime()); char message[MAXBUF]; snprintf(message, MAXBUF, "Ping timeout: %ld second%s", (long)time, time > 1 ? "s" : ""); curr->lastping = 1; |