#include "socket.h"
#include "typedefs.h"
#include "command_parse.h"
-#include "timer.h"
InspIRCd* ServerInstance;
{
expire_lines();
FOREACH_MOD(I_OnBackgroundTimer,OnBackgroundTimer(TIME));
+ TickMissedTimers(TIME);
expire_run = true;
continue;
}
/*
* Trigger all InspTimers that are pending
*/
- TickTimers(TIME);
}
/* Process timeouts on module sockets each time around
*/
DoSocketTimeouts(TIME);
+ TickTimers(TIME);
+
/* Call the socket engine to wait on the active
* file descriptors. The socket engine has everything's
* descriptors in its list... dns, modules, users,