summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-23 20:00:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-23 20:00:02 +0000
commit8c2bd7cc635ce14750729455284e4f76fb9fd920 (patch)
treebbec65258d8bab356f772af6a36cb2652f747561 /src/inspircd.cpp
parent197c5247986bb39d36fa34e00afb0a8cbc05b762 (diff)
Moved timer stuff from OnBackgroundTimer to InspTimer derivative
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 2 insertions, 1 deletions
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,