From fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 10 May 2023 11:57:48 +0100 Subject: Rename duration to timeutils and relocate InspIRCd::TimeString. --- src/modules/m_check.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 9f9c69647..552199720 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -27,6 +27,7 @@ #include "inspircd.h" #include "listmode.h" #include "numericbuilder.h" +#include "timeutils.h" enum { @@ -41,7 +42,7 @@ private: static std::string FormatTime(time_t ts) { - std::string timestr(InspIRCd::TimeString(ts, "%Y-%m-%d %H:%M:%S UTC (", true)); + std::string timestr(Time::ToString(ts, "%Y-%m-%d %H:%M:%S UTC (", true)); timestr.append(ConvToStr(ts)); timestr.push_back(')'); return timestr; -- cgit v1.3.1-10-gc9f91