summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-05 12:11:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-05 12:11:54 +0000
commitc6a230040ac37c80c009aae6735696ac91a1db8f (patch)
tree8956517a2f426a196fdf87ae01c3e5ed7cb70a52 /src
parent0955da18e4f1667e25c97892f4ea7d8c2ba9e516 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/userprocess.cpp2
1 files changed, 1 insertions, 1 deletions
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;