]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Add a note about interfaces that may be useful
[user/henk/code/inspircd.git] / src / userprocess.cpp
index dd1ca179981c2a3e59cc97dbece77220667ff940..3ba09a7595a93a2628c5a1b1622ecce8a17cba0e 100644 (file)
@@ -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;