From dd93ad66c2f4378e6e5e741a1591f8994e9a5470 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 12 Jul 2008 22:00:46 +0000 Subject: Add a snotice about time jumping by more than a second at a time, and move both this and time skew notice into debug snomask git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9999 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4383dc254..053b6aa12 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -788,7 +788,11 @@ int InspIRCd::Run() { if (TIME < OLDTIME) { - SNO->WriteToSnoMask('A', "\002EH?!\002 -- Time is flowing BACKWARDS in this dimension! Clock drifted backwards %lu secs.", (unsigned long)OLDTIME-TIME); + SNO->WriteToSnoMask('d', "\002EH?!\002 -- Time is flowing BACKWARDS in this dimension! Clock drifted backwards %lu secs.", (unsigned long)OLDTIME-TIME); + } + else if (TIME != OLDTIME + 1) + { + SNO->WriteToSnoMask('d', "\002EH?!\002 -- Time is jumping FORWARDS! Clock skipped %lu secs.", (unsigned long)TIME - OLDTIME); } if ((TIME % 3600) == 0) -- cgit v1.2.3