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_passforward.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_passforward.cpp')
| -rw-r--r-- | src/modules/m_passforward.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_passforward.cpp b/src/modules/m_passforward.cpp index 37efec02b..4f1730594 100644 --- a/src/modules/m_passforward.cpp +++ b/src/modules/m_passforward.cpp @@ -25,12 +25,12 @@ class ModulePassForward : public Module std::string nickrequired, forwardmsg, forwardcmd; public: - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Sends server password to NickServ", VF_VENDOR); } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { ConfigTag* tag = ServerInstance->Config->ConfValue("passforward"); nickrequired = tag->getString("nick", "NickServ"); @@ -73,7 +73,7 @@ class ModulePassForward : public Module } } - void OnPostConnect(User* ruser) CXX11_OVERRIDE + void OnPostConnect(User* ruser) override { LocalUser* user = IS_LOCAL(ruser); if (!user || user->password.empty()) |
