summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-12-30 18:53:04 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-12-30 18:53:04 +0100
commit03c5ffbdc3850fee20887885bcddd9d0738c8537 (patch)
treea3a9ed2f99f25e57b49a45962fdec57fe63e5cfe /src/modes
parent8db52f66a2ff587457c34889b31e7ef70876c7fa (diff)
Make ModeHandler::GetUserParameter() const, accept const User
Diffstat (limited to 'src/modes')
-rw-r--r--src/modes/umode_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp
index f0fa5e94b..ffad21662 100644
--- a/src/modes/umode_s.cpp
+++ b/src/modes/umode_s.cpp
@@ -50,7 +50,7 @@ ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Chan
return MODEACTION_DENY;
}
-std::string ModeUserServerNoticeMask::GetUserParameter(User* user)
+std::string ModeUserServerNoticeMask::GetUserParameter(const User* user) const
{
std::string ret;
if (!user->IsModeSet(this))