summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 22:00:46 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 22:00:46 +0000
commitdd93ad66c2f4378e6e5e741a1591f8994e9a5470 (patch)
treec13178506076200dfae407a30e002d06fe85a862 /src
parent2917d3996157c9750f25d0e4b352ab8ff6f906a5 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp6
1 files changed, 5 insertions, 1 deletions
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)