]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
Add reasons to other modules that implement XLines also.
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index 34fc5e63f75adfa68ac2c33be5e2c270015f374c..2ba9d18b62c01928b641465f58668b53aa8cfd93 100644 (file)
@@ -31,8 +31,7 @@ class CommandAlltime : public Command
                time_t now = ServerInstance->Time();
                strftime(fmtdate, sizeof(fmtdate), "%Y-%m-%d %H:%M:%S", gmtime(&now));
 
-               std::string msg = ":" + std::string(ServerInstance->Config->ServerName) + " NOTICE " + user->nick + " :System time for " +
-                       ServerInstance->Config->ServerName + " is: " + fmtdate;
+               std::string msg = ":" + std::string(ServerInstance->Config->ServerName) + " NOTICE " + user->nick + " :System time is " + fmtdate + "(" + ConvToStr(ServerInstance->Time()) + ") on " + ServerInstance->Config->ServerName;
 
                if (IS_LOCAL(user))
                {