diff options
| author | 2023-05-10 11:57:48 +0100 | |
|---|---|---|
| committer | 2023-05-10 11:57:48 +0100 | |
| commit | fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 (patch) | |
| tree | 8bf01388c2f66ebfaaa8efd2f47154958ce0bbae /src/modules/m_check.cpp | |
| parent | Show more details about unactivated/expired client certificates. (diff) | |
Rename duration to timeutils and relocate InspIRCd::TimeString.
Diffstat (limited to 'src/modules/m_check.cpp')
| -rw-r--r-- | src/modules/m_check.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
