summaryrefslogtreecommitdiff
path: root/include/mode.h
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 /include/mode.h
parent8db52f66a2ff587457c34889b31e7ef70876c7fa (diff)
Make ModeHandler::GetUserParameter() const, accept const User
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h
index 35af68685..956b86050 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -241,7 +241,7 @@ class CoreExport ModeHandler : public ServiceProvider
/** For user modes, return the current parameter, if any
*/
- virtual std::string GetUserParameter(User* useor);
+ virtual std::string GetUserParameter(const User* user) const;
/**
* Called when a channel mode change access check for your mode occurs.