]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_alltime.cpp
m_callerid Route ACCEPT to the server of the target user only, do not send METADATA...
[user/henk/code/inspircd.git] / src / modules / m_alltime.cpp
index 76536ed3f5ee650d6f437f9f89e25d9208ef5bec..d0331a99457f6c940af426c01850a8132e9c5adb 100644 (file)
@@ -52,7 +52,6 @@ class CommandAlltime : public Command
        }
 };
 
-
 class Modulealltime : public Module
 {
        CommandAlltime mycommand;
@@ -60,14 +59,14 @@ class Modulealltime : public Module
        Modulealltime()
                : mycommand(this)
        {
-               ServerInstance->AddCommand(&mycommand);
        }
 
-       virtual ~Modulealltime()
+       void init() CXX11_OVERRIDE
        {
+               ServerInstance->Modules->AddService(mycommand);
        }
 
-       virtual Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Display timestamps from all servers connected to the network", VF_OPTCOMMON | VF_VENDOR);
        }