aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_channames.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 02:52:11 +0000
committerGravatar Sadie Powell2019-01-25 02:52:11 +0000
commitc78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch)
tree4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_channames.cpp
parentRemove the DEPRECATED_METHOD macro. (diff)
downloadinspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.gz
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.bz2
inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.zip
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_channames.cpp')
-rw-r--r--src/modules/m_channames.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_channames.cpp b/src/modules/m_channames.cpp
index b3a882c20..0da3aa579 100644
--- a/src/modules/m_channames.cpp
+++ b/src/modules/m_channames.cpp
@@ -56,7 +56,7 @@ class ModuleChannelNames : public Module
{
}
- void init() CXX11_OVERRIDE
+ void init() override
{
ServerInstance->IsChannel = NewIsChannelHandler::Call;
}
@@ -98,7 +98,7 @@ class ModuleChannelNames : public Module
badchan = false;
}
- void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
+ void ReadConfig(ConfigStatus& status) override
{
ConfigTag* tag = ServerInstance->Config->ConfValue("channames");
std::string denyToken = tag->getString("denyrange");
@@ -128,7 +128,7 @@ class ModuleChannelNames : public Module
ValidateChans();
}
- void OnUserKick(User* source, Membership* memb, const std::string &reason, CUList& except_list) CXX11_OVERRIDE
+ void OnUserKick(User* source, Membership* memb, const std::string &reason, CUList& except_list) override
{
if (badchan)
{
@@ -139,14 +139,14 @@ class ModuleChannelNames : public Module
}
}
- CullResult cull() CXX11_OVERRIDE
+ CullResult cull() override
{
ServerInstance->IsChannel = rememberer;
ValidateChans();
return Module::cull();
}
- Version GetVersion() CXX11_OVERRIDE
+ Version GetVersion() override
{
return Version("Implements config tags which allow changing characters allowed in channel names", VF_VENDOR);
}