From 8c2bd7cc635ce14750729455284e4f76fb9fd920 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Feb 2006 20:00:02 +0000 Subject: Moved timer stuff from OnBackgroundTimer to InspTimer derivative git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index acd8a4d85..72a02d3bc 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -659,7 +659,6 @@ int InspIRCd::Run() /* * Trigger all InspTimers that are pending */ - TickTimers(TIME); } /* Process timeouts on module sockets each time around @@ -669,6 +668,8 @@ int InspIRCd::Run() */ 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, -- cgit v1.2.3