From bdbedfe2c0e87e970de790d51557e69b8a051718 Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Thu, 4 Jul 2019 10:01:49 -0600 Subject: Use DurationString() in the 'Replaying ...' message. --- src/modules/m_chanhistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_chanhistory.cpp b/src/modules/m_chanhistory.cpp index 7db851ee3..dffda8e72 100644 --- a/src/modules/m_chanhistory.cpp +++ b/src/modules/m_chanhistory.cpp @@ -183,7 +183,7 @@ class ModuleChanHistory { std::string message("Replaying up to " + ConvToStr(list->maxlen) + " lines of pre-join history"); if (list->maxtime > 0) - message.append(" spanning up to " + ConvToStr(list->maxtime) + " seconds"); + message.append(" spanning up to " + InspIRCd::DurationString(list->maxtime)); memb->WriteNotice(message); } -- cgit v1.2.3