1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 15:56:39 +02:00

Fixed a few small things

This commit is contained in:
Adam
2011-06-14 18:23:53 -04:00
parent 1cd65878db
commit df971befb2
7 changed files with 10 additions and 8 deletions
+3 -1
View File
@@ -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