summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/mode.h b/include/mode.h
index 22109d0ac..b26c0d9c3 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -435,15 +435,16 @@ class ModeParser : public classbase
*/
std::string ParaModeList();
+ /** Generates the CHANMODES= 005 sequence
+ */
+ std::string ChanModes();
+ /** Used by this class internally during std::sort and 005 generation
+ */
static bool ModeParser::PrefixComparison(const prefixtype one, const prefixtype two);
/** This returns the PREFIX=(ohv)@%+ section of the 005 numeric.
*/
std::string BuildPrefixes();
-
- /** Used to parse the CHANMODES= parameter of a 005 numeric.
- */
- bool InsertMode(std::string &output, const char* mode, unsigned short section);
};
/** Command handler class for the MODE command.