From 29b51086b95c86f812ac35ed7d3333f060ba5a8c Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 22 Feb 2008 16:40:02 +0000 Subject: Nuke TIMESYNC from orbit \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8998 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userprocess.cpp') 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; -- cgit v1.2.3