From c6a230040ac37c80c009aae6735696ac91a1db8f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 5 Nov 2006 12:11:54 +0000 Subject: Older gcc gets confused when the only parameter has a default value? O_o Changed an Instance->Time() to Instance->Time(false) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5655 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index a933bd5b2..b738c8096 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -310,7 +310,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) if (!curr->lastping) { /* Everybody loves boobies. */ - time_t time = this->Time() - (curr->nping - curr->pingmax); + time_t time = this->Time(false) - (curr->nping - curr->pingmax); std::string boobies = "Ping timeout: " + ConvToStr(time) + " second" + (time > 1 ? "s" : ""); GlobalGoners.AddItem(curr, boobies); curr->lastping = 1; -- cgit v1.2.3