diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-23 21:09:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-23 21:09:49 +0000 |
commit | 594d430ee457b621c731a6cc70d84c02c295d59c (patch) | |
tree | afc623183cb5f239afcb2050087611b992ee0b87 /include | |
parent | 1b87725fef508089024ffaf3d7dd0818c1c9a417 (diff) |
More prefixchar stuff.
WARNING: 005 numeric is broken in this commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/mode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h index b63c7f3b2..198ae0369 100644 --- a/include/mode.h +++ b/include/mode.h @@ -444,6 +444,13 @@ class ModeParser : public classbase */ std::string ParaModeList(); + 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); |