aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-22 14:29:12 +0000
committerGravatar Sadie Powell2025-03-22 14:37:15 +0000
commit30d0f2827215f635f4cdefed8300c1c085ae953c (patch)
tree7fc4837accfb8d7bed95449eeb816e84bfa87ea6 /src/inspircd.cpp
parentAllow reloading the geolocation database with a module rehash. (diff)
parentAllow using the long duration format in the xline message. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 906da38ea..3b62db36a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -131,13 +131,13 @@ namespace
if (timediff > ServerInstance->Config->TimeSkipWarn)
{
ServerInstance->SNO.WriteToSnoMask('a', "\002Performance warning!\002 Server clock jumped forwards by {} (from {} to {})!",
- Duration::ToHuman(timediff), Time::ToString(oldtime), Time::ToString(newtime));
+ Duration::ToLongString(timediff), Time::ToString(oldtime), Time::ToString(newtime));
}
else if (timediff < -ServerInstance->Config->TimeSkipWarn)
{
ServerInstance->SNO.WriteToSnoMask('a', "\002Performance warning!\002 Server clock jumped backwards by {} (from {} to {})!",
- Duration::ToHuman(std::abs(timediff)), Time::ToString(oldtime), Time::ToString(newtime));
+ Duration::ToLongString(std::abs(timediff)), Time::ToString(oldtime), Time::ToString(newtime));
}
}