summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-23 22:34:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-23 22:34:58 +0000
commit3382adb9e9a79748b4db09bb41a296861800fa2d (patch)
treec1ec0205b9578e9a5925c013660cb4b9d62cf856 /include
parent932f1a6bc5dfec0a3b02c364fdf20d984af1c3a4 (diff)
ModeParser::InsertMode is no longer required -- this is auto-generated by the ModeParser based on what modes are registered and wether or not they have certain attributes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5007 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-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.