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_cycle.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_cycle.cpp')
| -rw-r--r-- | src/modules/m_cycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 3ead72a45..e9c9580e5 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -31,7 +31,7 @@ class CommandCycle : public SplitCommand Penalty = 3; syntax = "<channel> :[reason]"; } - CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE + CmdResult HandleLocal(LocalUser* user, const Params& parameters) override { Channel* channel = ServerInstance->FindChan(parameters[0]); std::string reason = "Cycling"; @@ -82,7 +82,7 @@ class ModuleCycle : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides command CYCLE, acts as a server-side HOP command to part and rejoin a channel.", VF_VENDOR); } |
