summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-07-04 10:01:49 -0600
committerPeter Powell <petpow@saberuk.com>2019-07-04 17:18:06 +0100
commitbdbedfe2c0e87e970de790d51557e69b8a051718 (patch)
tree0ef1f72a6521dd98df911eff75dbaf33f3bec23b /src
parent3450b3d1ccc1763d25a95315509ae3253fadcf89 (diff)
Use DurationString() in the 'Replaying ...' message.
Diffstat (limited to 'src')
-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 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);
}