]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
Improve UserManager::QuitUser() and related code
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index d0331a99457f6c940af426c01850a8132e9c5adb..58f7c4fb5a484f4076a661f10c8f8371f6d38091 100644 (file)
 
 #include "inspircd.h"
 
-/* $ModDesc: Display timestamps from all servers connected to the network */
-
 class CommandAlltime : public Command
 {
  public:
        CommandAlltime(Module* Creator) : Command(Creator, "ALLTIME", 0)
        {
                flags_needed = 'o';
-               translation.push_back(TR_END);
        }
 
        CmdResult Handle(const std::vector<std::string> &parameters, User *user)
@@ -61,11 +58,6 @@ class Modulealltime : public Module
        {
        }
 
-       void init() CXX11_OVERRIDE
-       {
-               ServerInstance->Modules->AddService(mycommand);
-       }
-
        Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Display timestamps from all servers connected to the network", VF_OPTCOMMON | VF_VENDOR);