From 6a0e273150ec7e80fc4317e394eae10caf6c36ec Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 18:47:22 +0000 Subject: Check for time going BACKWARDS (yes. really.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3061 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 925aaa081..c59fcda9f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -640,7 +640,11 @@ int InspIRCd::Run() /* Once a second, do the background processing */ if (TIME != OLDTIME) + { + if (TIME < OLDTIME) + WriteOpers("*** \002EH?!\002 -- Time is flowing BACKWARDS in this dimension! Clock drifted backwards %d secs.",abs(OLDTIME-TIME)); DoBackgroundUserStuff(TIME); + } /* Call the socket engine to wait on the active * file descriptors. The socket engine has everything's -- cgit v1.2.3