diff options
| author | 2014-03-15 15:38:09 +0100 | |
|---|---|---|
| committer | 2014-03-15 15:38:09 +0100 | |
| commit | 0babd8c0783242fc647cdcdfefb399c099e367ad (patch) | |
| tree | 4cc656f9d1555349fb4b4068e0422f78634d0f7b /src/timer.cpp | |
| parent | Change allocation of UserManager::clientlist to be physically part of the obj... (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.cpp | 6 |
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) |
