summaryrefslogtreecommitdiff
path: root/src/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.cpp')
-rw-r--r--src/timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index b897056e6..8e11ee4a7 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -25,15 +25,15 @@
void Timer::SetInterval(time_t newinterval)
{
- ServerInstance->Timers->DelTimer(this);
+ ServerInstance->Timers.DelTimer(this);
secs = newinterval;
SetTrigger(ServerInstance->Time() + newinterval);
- ServerInstance->Timers->AddTimer(this);
+ ServerInstance->Timers.AddTimer(this);
}
Timer::~Timer()
{
- ServerInstance->Timers->DelTimer(this);
+ ServerInstance->Timers.DelTimer(this);
}
void TimerManager::TickTimers(time_t TIME)