diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4d4c9a6ea..956fb1155 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -141,7 +141,7 @@ namespace if (!ServerInstance->Config->TimeSkipWarn) return; - time_t timediff = oldtime - newtime; + time_t timediff = newtime - oldtime; if (timediff > ServerInstance->Config->TimeSkipWarn) ServerInstance->SNO->WriteToSnoMask('a', "\002Performance warning!\002 Server clock jumped forwards by %lu seconds!", timediff); |