]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testnet.cpp
Tidy up keywords on module methods.
[user/henk/code/inspircd.git] / src / modules / m_testnet.cpp
index 843ecd4b70991db6c10cdefaa3031a7b5ff88c6c..a18e7dedee4c677ad54742b68583979f7ead4c1a 100644 (file)
@@ -152,8 +152,6 @@ static void checkall(Module* noimpl)
        CHK(OnEvent);
        CHK(OnGlobalOper);
        CHK(OnPostConnect);
-       CHK(OnAddBan);
-       CHK(OnDelBan);
        CHK(OnChangeLocalUserGECOS);
        CHK(OnUserRegister);
        CHK(OnChannelPreDelete);
@@ -216,14 +214,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);
        }