]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Merge branch 'master+dns'
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index 8ae30bfed0da5b3e76e823a7e8522aaf93a97b57..6f9c32fb1290e05b1637bcbe9a1c553603d88037 100644 (file)
@@ -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)