From 3382adb9e9a79748b4db09bb41a296861800fa2d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 23 Aug 2006 22:34:58 +0000 Subject: 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 --- include/mode.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include') 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. -- cgit v1.2.3