]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
Better error message for erroring on loading server cert - give certfile/keyfile...
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index b0ccd2886cb9faf85ab70c8be0e11120e0cc2a0b..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))
                {
@@ -67,7 +66,7 @@ class Modulealltime : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
        }
 
 };