aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Matt Schatz2019-07-04 10:01:49 -0600
committerGravatar Peter Powell2019-07-04 17:18:06 +0100
commitbdbedfe2c0e87e970de790d51557e69b8a051718 (patch)
tree0ef1f72a6521dd98df911eff75dbaf33f3bec23b /src
parentFix whitelist check for a badchan redirect (#1676). (diff)
downloadinspircd++-bdbedfe2c0e87e970de790d51557e69b8a051718.tar.gz
inspircd++-bdbedfe2c0e87e970de790d51557e69b8a051718.tar.bz2
inspircd++-bdbedfe2c0e87e970de790d51557e69b8a051718.zip
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);
}