summaryrefslogtreecommitdiff
path: root/src/timers.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-25 21:58:20 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-25 21:58:20 -0400
commitae38212c1ce829c783edf971081c90137abb49a0 (patch)
tree5c652d9cdc38103dec6fa112d57fca882b4e3e44 /src/timers.cpp
parent15d7f0f6fe8bb903275f603f734c13f65f3aa906 (diff)
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
Diffstat (limited to 'src/timers.cpp')
-rw-r--r--src/timers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timers.cpp b/src/timers.cpp
index e4a2ef04b..df3f2d228 100644
--- a/src/timers.cpp
+++ b/src/timers.cpp
@@ -99,7 +99,7 @@ void TimerManager::DelTimer(Timer *T)
*/
void TimerManager::TickTimers(time_t ctime)
{
- while (Timers.size() && (ctime > Timers.front()->GetTimer()))
+ while (Timers.size() && ctime > Timers.front()->GetTimer())
{
Timer *t = Timers.front();
@@ -119,5 +119,5 @@ void TimerManager::TickTimers(time_t ctime)
*/
bool TimerManager::TimerComparison(Timer *one, Timer *two)
{
- return (one->GetTimer() < two->GetTimer());
+ return one->GetTimer() < two->GetTimer();
}