From 5041993a7c5b2b94d84a5c15c4960e6acc3bb52d Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Feb 2006 20:42:57 +0000 Subject: Added comment git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3312 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/timer.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/timer.cpp b/src/timer.cpp index c172f2fa5..14e612168 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -65,6 +65,14 @@ void TickTimers(time_t TIME) } } +/* + * Because some muppets may do odd things, and their ircd may lock up due + * to crappy 3rd party modules, or they may change their system time a bit, + * this accounts for shifts of up to 120 secs by looking behind for missed + * timers and executing them. This is only executed once every 5 secs. + * If you move your clock BACK, and your timers move further ahead as a result, + * then tough titty you'll just have to wait. + */ void TickMissedTimers(time_t TIME) { for (time_t n = TIME-1; n > TIME-120; n--) -- cgit v1.2.3