summaryrefslogtreecommitdiff
path: root/src/timer.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-15 15:38:09 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-15 15:38:09 +0100
commit0babd8c0783242fc647cdcdfefb399c099e367ad (patch)
tree4cc656f9d1555349fb4b4068e0422f78634d0f7b /src/timer.cpp
parentea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (diff)
Change allocation of InspIRCd::Timers to be physically part of the object containing it
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)