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_chanhistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chanhistory.cpp') diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp index 02d91f345..c9038c36e 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -283,7 +283,7 @@ public: { auto message = INSP_FORMAT("Replaying up to {} lines of pre-join history", list->maxlen); if (list->maxtime > 0) - message += INSP_FORMAT(" from the last {}", Duration::ToString(list->maxtime)); + message += INSP_FORMAT(" from the last {}", Duration::ToHuman(list->maxtime)); memb->WriteNotice(message); } -- cgit v1.3.1-10-gc9f91