aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 2597c7b93..a8b73f45e 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -42,9 +42,8 @@ private:
static std::string FormatTime(time_t ts)
{
- std::string timestr(Time::ToString(ts, "%Y-%m-%d %H:%M:%S UTC (", true));
- timestr.append(ConvToStr(ts));
- timestr.push_back(')');
+ auto timestr = Time::ToString(ts, Time::DEFAULT_LONG, true);
+ timestr += INSP_FORMAT(" ({})", ServerInstance->Time());
return timestr;
}