diff options
| author | 2015-04-20 17:40:12 +0200 | |
|---|---|---|
| committer | 2015-04-20 17:40:12 +0200 | |
| commit | 8f5efbc7aa33b792e02d01e3288f553e6e98ccaa (patch) | |
| tree | 54a67ebd11fac07d630fa03acad7797b2f781e80 /src/modules/m_check.cpp | |
| parent | Remove exception handling from StreamSocket methods calling IOHooks (diff) | |
| parent | Release v2.0.19 (diff) | |
| download | inspircd++-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.cpp | 6 |
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) |
