diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 18:47:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 18:47:22 +0000 |
commit | 6a0e273150ec7e80fc4317e394eae10caf6c36ec (patch) | |
tree | 9ef223e5bb21b5446749ea0e9fc57b1ae06f1c3b /src/inspircd.cpp | |
parent | 8c7166905e94d8e23fe7a46a5c2250dd13bb0f0c (diff) |
Check for time going BACKWARDS (yes. really.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3061 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |