diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_channames.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
| download | inspircd++-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.cpp | 10 |
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); } |
