diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 21:24:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 21:24:40 +0000 |
commit | 12b9855339a3bbd05cc0636588ea68bf8db390f5 (patch) | |
tree | dd0ad2fc31061f3b3e150291f0583a3e304fc9f6 /src/timer.cpp | |
parent | 38d5fd9b40e126bfde51022dac8d5a8a1ff787a9 (diff) |
Honking huge commit. Removal of DELETE() template that never worked right anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/timer.cpp')
-rw-r--r-- | src/timer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timer.cpp b/src/timer.cpp index f9abf8114..9bc37012d 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -43,12 +43,12 @@ void TimerManager::TickTimers(time_t TIME) } else { - DELETE(n); + delete n; } } Timers.erase(found); - DELETE(x); + delete x; } this->CantDeleteHere = false; @@ -84,12 +84,12 @@ void TimerManager::DelTimer(Timer* T) Timer* n = *y; if (n == T) { - DELETE(n); + delete n; x->erase(y); if (!x->size()) { Timers.erase(found); - DELETE(x); + delete x; } return; } |