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:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user