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_nonicks.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_nonicks.cpp')
| -rw-r--r-- | src/modules/m_nonicks.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index 998662c3c..9c4c90cfe 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -33,17 +33,17 @@ class ModuleNoNickChange : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for channel mode +N & extban +b N: which prevents nick changes on channel", VF_VENDOR); } - void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE + void On005Numeric(std::map<std::string, std::string>& tokens) override { tokens["EXTBAN"].push_back('N'); } - ModResult OnUserPreNick(LocalUser* user, const std::string& newnick) CXX11_OVERRIDE + ModResult OnUserPreNick(LocalUser* user, const std::string& newnick) override { for (User::ChanList::iterator i = user->chans.begin(); i != user->chans.end(); i++) { |
