diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-12-30 18:53:04 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-12-30 18:53:04 +0100 |
commit | 03c5ffbdc3850fee20887885bcddd9d0738c8537 (patch) | |
tree | a3a9ed2f99f25e57b49a45962fdec57fe63e5cfe /include/builtinmodes.h | |
parent | 8db52f66a2ff587457c34889b31e7ef70876c7fa (diff) |
Make ModeHandler::GetUserParameter() const, accept const User
Diffstat (limited to 'include/builtinmodes.h')
-rw-r--r-- | include/builtinmodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h index 62ccaf62d..a77734ae3 100644 --- a/include/builtinmodes.h +++ b/include/builtinmodes.h @@ -104,7 +104,7 @@ class ModeUserServerNoticeMask : public ModeHandler * @param user The user whose notice masks to format * @return The notice mask character sequence */ - std::string GetUserParameter(User* user); + std::string GetUserParameter(const User* user) const CXX11_OVERRIDE; }; /** User mode +o |