*/
#include "inspircd.h"
-#include "modules.h"
/* $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];