X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Ftimer.cpp;h=a79105f5292d23e5ce6599619c703897f1990461;hb=4cc6e5e14fdbde499481dbab5ab2ad1257b8af9c;hp=c041075025321e04fc5aa8cd8b2e20fb64a11fc3;hpb=8a15b719601bd886487775c9709ba16cf3e39096;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/timer.cpp b/src/timer.cpp index c04107502..a79105f52 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -33,7 +33,7 @@ void TimerManager::TickTimers(time_t TIME) */ for (timergroup::iterator y = x->begin(); y != x->end(); y++) { - InspTimer* n = *y; + Timer* n = *y; n->Tick(TIME); if (n->GetRepeat()) { @@ -52,7 +52,7 @@ void TimerManager::TickTimers(time_t TIME) this->CantDeleteHere = false; } -void TimerManager::DelTimer(InspTimer* T) +void TimerManager::DelTimer(Timer* T) { if (this->CantDeleteHere) { @@ -79,7 +79,7 @@ void TimerManager::DelTimer(InspTimer* T) timergroup* x = found->second; for (timergroup::iterator y = x->begin(); y != x->end(); y++) { - InspTimer* n = *y; + Timer* n = *y; if (n == T) { DELETE(n); @@ -108,7 +108,7 @@ void TimerManager::TickMissedTimers(time_t TIME) this->TickTimers(TIME); } -void TimerManager::AddTimer(InspTimer* T, long secs_from_now) +void TimerManager::AddTimer(Timer* T, long secs_from_now) { timergroup* x = NULL;