From 2102b065d4ed91c5199c1dececdec4e385657cfd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 2 Mar 2025 14:15:02 +0000 Subject: Add Duration::ToHuman and update messages to use it. --- src/xline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xline.cpp') 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 -- cgit v1.3.1-10-gc9f91