aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chanhistory.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/modules/m_chanhistory.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/modules/m_chanhistory.cpp')
-rw-r--r--src/modules/m_chanhistory.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}