aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_sethost.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-11-21 13:05:17 +0000
committerGravatar Peter Powell2017-11-21 15:51:45 +0000
commit91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch)
treed3e39ed4c011b42054994e48a289eee51db9d879 /src/modules/m_sethost.cpp
parentInherit non-core connect class settings properly. (diff)
downloadinspircd++-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_sethost.cpp')
-rw-r--r--src/modules/m_sethost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index b37207b4f..23dbbad56 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -34,7 +34,7 @@ class CommandSethost : public Command
flags_needed = 'o'; syntax = "<new-hostname>";
}
- CmdResult Handle (const std::vector<std::string>& parameters, User *user)
+ CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
{
if (parameters[0].length() > ServerInstance->Config->Limits.MaxHost)
{