diff options
| author | 2017-11-21 13:05:17 +0000 | |
|---|---|---|
| committer | 2017-11-21 15:51:45 +0000 | |
| commit | 91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch) | |
| tree | d3e39ed4c011b42054994e48a289eee51db9d879 /src/modules/m_cycle.cpp | |
| parent | Inherit non-core connect class settings properly. (diff) | |
| download | inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.tar.gz inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.tar.bz2 inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.zip | |
Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
Diffstat (limited to 'src/modules/m_cycle.cpp')
| -rw-r--r-- | src/modules/m_cycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 202cb123f..68463a4e7 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(const std::vector<std::string> ¶meters, LocalUser* user) + CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user) CXX11_OVERRIDE { Channel* channel = ServerInstance->FindChan(parameters[0]); std::string reason = "Cycling"; |
