summaryrefslogtreecommitdiff
path: root/src/timers.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-06-14 18:23:53 -0400
committerAdam <Adam@anope.org>2011-06-14 18:23:53 -0400
commitdf971befb2ec95d69b7bb5bce49f4105ee916c2a (patch)
tree35b2a04ca610af184f01f0d1e250d3ff4bdf9a43 /src/timers.cpp
parent1cd65878dbdae1d64f70522c3586897a9a7adc36 (diff)
Fixed a few small things
Diffstat (limited to 'src/timers.cpp')
-rw-r--r--src/timers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/timers.cpp b/src/timers.cpp
index a8cef007b..3441d1721 100644
--- a/src/timers.cpp
+++ b/src/timers.cpp
@@ -73,7 +73,9 @@ void Timer::SetSecs(time_t t)
{
secs = t;
trigger = Anope::CurTime + t;
- sort(TimerManager::Timers.begin(), TimerManager::Timers.end(), TimerManager::TimerComparison);
+
+ TimerManager::DelTimer(this);
+ TimerManager::AddTimer(this);
}
/** Returns the interval between ticks