diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-05 12:11:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-05 12:11:54 +0000 |
commit | c6a230040ac37c80c009aae6735696ac91a1db8f (patch) | |
tree | 8956517a2f426a196fdf87ae01c3e5ed7cb70a52 | |
parent | 0955da18e4f1667e25c97892f4ea7d8c2ba9e516 (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
-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 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; |