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_modenotice.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_modenotice.cpp')
| -rw-r--r-- | src/modules/m_modenotice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_modenotice.cpp b/src/modules/m_modenotice.cpp index 5311015b7..4a94c89ee 100644 --- a/src/modules/m_modenotice.cpp +++ b/src/modules/m_modenotice.cpp @@ -28,7 +28,7 @@ class CommandModeNotice : public Command flags_needed = 'o'; } - CmdResult Handle(User* src, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* src, const Params& parameters) override { std::string msg = "*** From " + src->nick + ": " + parameters[1]; int mlen = parameters[0].length(); @@ -47,7 +47,7 @@ next_user: ; return CMD_SUCCESS; } - RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE + RouteDescriptor GetRouting(User* user, const Params& parameters) override { return ROUTE_OPT_BCAST; } @@ -63,7 +63,7 @@ class ModuleModeNotice : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides the /MODENOTICE command", VF_VENDOR); } |
