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_conn_umodes.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_conn_umodes.cpp')
| -rw-r--r-- | src/modules/m_conn_umodes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp index 3132aed40..7e53a7a2f 100644 --- a/src/modules/m_conn_umodes.cpp +++ b/src/modules/m_conn_umodes.cpp @@ -25,18 +25,18 @@ class ModuleModesOnConnect : public Module { public: - void Prioritize() CXX11_OVERRIDE + void Prioritize() override { // for things like +x on connect, important, otherwise we have to resort to config order (bleh) -- w00t ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_FIRST); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Sets (and unsets) modes on users when they connect", VF_VENDOR); } - void OnUserConnect(LocalUser* user) CXX11_OVERRIDE + void OnUserConnect(LocalUser* user) override { ConfigTag* tag = user->MyClass->config; std::string ThisModes = tag->getString("modes"); |
