diff options
author | Adam <Adam@anope.org> | 2013-03-22 11:52:42 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-22 11:52:42 -0500 |
commit | f122f104c4a25ae76b92da367cc569bfc71bb16e (patch) | |
tree | 0a693782fc6348d29682bfce97b806c8db9594b5 /include/timers.h | |
parent | deedb3bdd7afa03f5793201ceec76825930e4a79 (diff) | |
parent | d5a453b6638be81e4a69269e86bd508476305f14 (diff) |
Merge remote branch 'attila/1.9+timermanager' into 1.9
Diffstat (limited to 'include/timers.h')
-rw-r--r-- | include/timers.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/timers.h b/include/timers.h index 49490b09d..229333596 100644 --- a/include/timers.h +++ b/include/timers.h @@ -90,7 +90,7 @@ class CoreExport TimerManager { /** A list of timers */ - static std::vector<Timer *> Timers; + static std::multimap<time_t, Timer *> Timers; public: /** Add a timer to the list * @param t A Timer derived class to add @@ -106,10 +106,6 @@ class CoreExport TimerManager * @param ctime The current time */ static void TickTimers(time_t ctime = Anope::CurTime); - - /** Compares two timers - */ - static bool TimerComparison(Timer *one, Timer *two); }; #endif // TIMERS_H |