summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-02-23 19:39:38 +0000
committerGravatar brain2006-02-23 19:39:38 +0000
commit7907a1f1cc78ca532547c824cd221060b57f4fff (patch)
treebc1c7cd9c217656225ed760091c8846f221f3ed4 /src/inspircd.cpp
parentFixes (diff)
Incorporating InspTimer into safelist as a test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 2b57a2292..6e8040d87 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -57,6 +57,7 @@ using namespace std;
#include "socket.h"
#include "typedefs.h"
#include "command_parse.h"
+#include "timer.h"
InspIRCd* ServerInstance;
@@ -655,6 +656,11 @@ int InspIRCd::Run()
if (TIME < OLDTIME)
WriteOpers("*** \002EH?!\002 -- Time is flowing BACKWARDS in this dimension! Clock drifted backwards %d secs.",abs(OLDTIME-TIME));
DoBackgroundUserStuff(TIME);
+
+ /*
+ * Trigger all InspTimers that are pending
+ */
+ TickTimers(TIME);
}
/* Process timeouts on module sockets each time around