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/modules/m_shun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 661cd8e57..7200483f4 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -128,7 +128,7 @@ public: else { ServerInstance->SNO.WriteToSnoMask('x', "{} added a timed SHUN on {}, expires in {} (on {}): {}", - user->nick, target, Duration::ToString(duration), + user->nick, target, Duration::ToHuman(duration), Time::FromNow(duration), expr); } } -- cgit v1.3.1-10-gc9f91