summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index 3ea4f6d06..467e7e2ae 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -211,6 +211,10 @@ class CoreExport ModeHandler : public Extensible
*/
char GetModeChar();
+ /** For user modes, return the current parameter, if any
+ */
+ std::string GetUserParameter(User* user);
+
/**
* Called when a mode change for your mode occurs.
* @param source Contains the user setting the mode.