mirror of
https://github.com/anope/anope.git
synced 2026-07-01 11:06:38 +02:00
Properly remove old callbacks from modules internal list of callbacks list, and cleaned up some of the timers code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2524 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+9
-2
@@ -99,11 +99,18 @@ class CoreExport TimerManager : public Extensible
|
||||
static void AddTimer(Timer *T);
|
||||
|
||||
/** Deletes a timer
|
||||
* @param T A Timer derived class to delete */
|
||||
* @param T A Timer derived class to delete
|
||||
*/
|
||||
static void DelTimer(Timer *T);
|
||||
|
||||
/** Check if something is a timer
|
||||
* @param T A pointer
|
||||
* @return true or false
|
||||
*/
|
||||
static bool IsTimer(Timer *T);
|
||||
|
||||
/** Tick all pending timers
|
||||
* @param time The current time
|
||||
* @param ctime The current time
|
||||
*/
|
||||
static void TickTimers(time_t ctime = time(NULL));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user