diff options
author | Sadie Powell <sadie@witchery.services> | 2020-03-30 23:41:46 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-03-30 23:41:46 +0100 |
commit | 29addc0799653329981c9741347c0000da451220 (patch) | |
tree | 634d0e5c4609fa744f2960cd95950e7fdc1329ab | |
parent | 25052ccef3c47cc43af9b900a658e5c09e8bec2e (diff) |
Fix clock skip warnings being inverted.
-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); |