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_hostcycle.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_hostcycle.cpp')
| -rw-r--r-- | src/modules/m_hostcycle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_hostcycle.cpp b/src/modules/m_hostcycle.cpp index a3c81df6e..b07ca41c6 100644 --- a/src/modules/m_hostcycle.cpp +++ b/src/modules/m_hostcycle.cpp @@ -101,17 +101,17 @@ class ModuleHostCycle : public Module { } - void OnChangeIdent(User* user, const std::string& newident) CXX11_OVERRIDE + void OnChangeIdent(User* user, const std::string& newident) override { DoHostCycle(user, newident, user->GetDisplayedHost(), quitmsgident); } - void OnChangeHost(User* user, const std::string& newhost) CXX11_OVERRIDE + void OnChangeHost(User* user, const std::string& newhost) override { DoHostCycle(user, user->ident, newhost, quitmsghost); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Cycles users in all their channels when their host or ident changes", VF_VENDOR); } |
