]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
Socket engine tweaks to fix a glitch, and improvements to new m_ident
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index 70773167b3969fbe45faf40c303daaab59e134fd..1b48c237f9c36bae06a090f613caa59ffddeb6c8 100644 (file)
 
 /* $ModDesc: Display timestamps from all servers connected to the network */
 
-class cmd_alltime : public command_t
+class cmd_alltime : public Command
 {
  public:
-       cmd_alltime(InspIRCd *Instance) : command_t(Instance, "ALLTIME", 'o', 0)
+       cmd_alltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0)
        {
                this->source = "m_alltime.so";
                syntax.clear();
+               translation.push_back(TR_END);
        }
 
-       CmdResult Handle(const char **parameters, int pcnt, userrec *user)
+       CmdResult Handle(const char **parameters, int pcnt, User *user)
        {
                char fmtdate[64];
                char fmtdate2[64];