summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-09-11 15:22:40 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-18 14:09:01 +0100
commit60d92db9a1b71bbfd4230c5eb9f04cd6a87a41d8 (patch)
treef9f938d98e9e81920446b357f86a4a558bea4567 /include/mode.h
parent21f2f56e98625fe640f8045737335d8ebdf879b7 (diff)
Add ModeParser::IsModeChar to standardise mode validation.
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index 2aa781c28..6b481e779 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -630,6 +630,8 @@ class CoreExport ModeParser : public fakederef<ModeParser>
*/
static void InitBuiltinModes();
+ static bool IsModeChar(char chr);
+
/** Tidy a banmask. This makes a banmask 'acceptable' if fields are left out.
* E.g.
*