aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-04-20 17:40:12 +0200
committerGravatar Attila Molnar2015-04-20 17:40:12 +0200
commit8f5efbc7aa33b792e02d01e3288f553e6e98ccaa (patch)
tree54a67ebd11fac07d630fa03acad7797b2f781e80 /src/modules/m_check.cpp
parentRemove exception handling from StreamSocket methods calling IOHooks (diff)
parentRelease v2.0.19 (diff)
downloadinspircd++-8f5efbc7aa33b792e02d01e3288f553e6e98ccaa.tar.gz
inspircd++-8f5efbc7aa33b792e02d01e3288f553e6e98ccaa.tar.bz2
inspircd++-8f5efbc7aa33b792e02d01e3288f553e6e98ccaa.zip
Merge insp20
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 8ae30bfed..6f9c32fb1 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -73,8 +73,10 @@ class CommandCheck : public Command
{
char timebuf[60];
struct tm *mytime = gmtime(&time);
- strftime(timebuf, 59, "%Y-%m-%d %H:%M:%S UTC (%s)", mytime);
- return std::string(timebuf);
+ strftime(timebuf, 59, "%Y-%m-%d %H:%M:%S UTC (", mytime);
+ std::string ret(timebuf);
+ ret.append(ConvToStr(time)).push_back(')');
+ return ret;
}
void dumpExt(User* user, const std::string& checkstr, Extensible* ext)