summaryrefslogtreecommitdiff
path: root/src/modules/m_testnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_testnet.cpp')
-rw-r--r--src/modules/m_testnet.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/modules/m_testnet.cpp b/src/modules/m_testnet.cpp
index 401766d8a..d32f26a4b 100644
--- a/src/modules/m_testnet.cpp
+++ b/src/modules/m_testnet.cpp
@@ -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);
@@ -152,8 +149,6 @@ static void checkall(Module* noimpl)
CHK(OnEvent);
CHK(OnGlobalOper);
CHK(OnPostConnect);
- CHK(OnAddBan);
- CHK(OnDelBan);
CHK(OnChangeLocalUserGECOS);
CHK(OnUserRegister);
CHK(OnChannelPreDelete);
@@ -216,18 +211,17 @@ 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);
}
};
MODULE_INIT(ModuleTest)
-