diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:35:40 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:35:40 +0200 |
commit | 51da1d3b59c25af4931b998cc23e2066392e548e (patch) | |
tree | 7f04223551f1a475f304befc744776bfadad0d9a /include | |
parent | 00660293338f6a78278e52d05f6cf9a7ef9acc64 (diff) |
Pass prefix rank and prefix char to PrefixMode constructor
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h index ffa5308f3..3e30d5b88 100644 --- a/include/mode.h +++ b/include/mode.h @@ -344,8 +344,10 @@ class CoreExport PrefixMode : public ModeHandler * @param Creator The module creating this mode * @param Name The user-friendly one word name of the prefix mode, e.g.: "op", "voice" * @param ModeLetter The mode letter of this mode + * @param Rank Rank given by this prefix mode, see explanation above + * @param PrefixChar Prefix character, or 0 if the mode has no prefix character */ - PrefixMode(Module* Creator, const std::string& Name, char ModeLetter); + PrefixMode(Module* Creator, const std::string& Name, char ModeLetter, unsigned int Rank = 0, char PrefixChar = 0); /** * Handles setting and unsetting the prefix mode. |