]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testnet.cpp
Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to route...
[user/henk/code/inspircd.git] / src / modules / m_testnet.cpp
index 01d0406b06fe9c8267822eb3994641853f000a84..4bff4b71118e9b48cc112592648ca0e12506cbc6 100644 (file)
@@ -112,16 +112,13 @@ static void checkall(Module* noimpl)
        CHK(OnUserPreInvite);
        CHK(OnUserInvite);
        CHK(OnUserPreMessage);
-       CHK(OnUserPreNotice);
        CHK(OnUserPreNick);
        CHK(OnUserMessage);
-       CHK(OnUserNotice);
        CHK(OnMode);
        CHK(OnGetServerDescription);
        CHK(OnSyncUser);
        CHK(OnSyncChannel);
        CHK(OnDecodeMetaData);
-       CHK(OnWallops);
        CHK(OnAcceptConnection);
        CHK(OnChangeHost);
        CHK(OnChangeName);
@@ -132,7 +129,6 @@ static void checkall(Module* noimpl)
        CHK(OnPreMode);
        CHK(On005Numeric);
        CHK(OnKill);
-       CHK(OnRemoteKill);
        CHK(OnLoadModule);
        CHK(OnUnloadModule);
        CHK(OnBackgroundTimer);
@@ -214,14 +210,14 @@ class ModuleTest : public Module
        {
        }
 
-       void init()
+       void init() CXX11_OVERRIDE
        {
                if (!strstr(ServerInstance->Config->ServerName.c_str(), ".test"))
                        throw ModuleException("Don't load modules without reading their descriptions!");
                ServerInstance->Modules->AddService(cmd);
        }
 
-       Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Provides a module for testing the server while linked in a network", VF_VENDOR|VF_OPTCOMMON);
        }