summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}