aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-02 14:15:02 +0000
committerGravatar Sadie Powell2025-03-03 14:00:16 +0000
commit2102b065d4ed91c5199c1dececdec4e385657cfd (patch)
tree344337bb5099dcbf3c0aba113d3ec07955ef00f9 /src/xline.cpp
parentAdd an 005 token to let clients know that fakelag is enabled. (diff)
Add Duration::ToHuman and update messages to use it.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 99d0dee14..d83617dae 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -707,7 +707,7 @@ void XLine::DisplayExpiry()
{
ServerInstance->SNO.WriteToSnoMask('x', "Removing an expired {}{} on {} (set by {} {} ago): {}",
type, (type.length() <= 2 ? "-line" : ""), Displayable(), source,
- Duration::ToString(ServerInstance->Time() - set_time), reason);
+ Duration::ToHuman(ServerInstance->Time() - set_time), reason);
}
const std::string& ELine::Displayable() const