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_chghost.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_chghost.cpp')
| -rw-r--r-- | src/modules/m_chghost.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 6e498a8be..bddcc783c 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -37,7 +37,7 @@ class CommandChghost : public Command TRANSLATE2(TR_NICK, TR_TEXT); } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { if (parameters[1].length() > ServerInstance->Config->Limits.MaxHost) { @@ -75,7 +75,7 @@ class CommandChghost : public Command return CMD_SUCCESS; } - RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE + RouteDescriptor GetRouting(User* user, const Params& parameters) override { return ROUTE_OPT_UCAST(parameters[0]); } @@ -92,7 +92,7 @@ class ModuleChgHost : public Module { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { std::string hmap = ServerInstance->Config->ConfValue("hostname")->getString("charmap", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789"); @@ -101,7 +101,7 @@ class ModuleChgHost : public Module cmd.hostmap.set(static_cast<unsigned char>(*n)); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides support for the CHGHOST command", VF_OPTCOMMON | VF_VENDOR); } |
