X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmode.h;h=6b481e7796c744a2efbf2e5055401b2899d9c25c;hb=60d92db9a1b71bbfd4230c5eb9f04cd6a87a41d8;hp=2e9ed22f31279aa94b86614af753a8b61aa52615;hpb=834c94679b7df475e50d87ccb11311e297a78718;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/mode.h b/include/mode.h index 2e9ed22f3..6b481e779 100644 --- a/include/mode.h +++ b/include/mode.h @@ -380,7 +380,7 @@ class CoreExport PrefixMode : public ModeHandler /** * Removes this prefix mode from all users on the given channel - * @param chan The channel which the server wants to remove your mode from + * @param channel The channel which the server wants to remove your mode from * @param changelist Mode change list to populate with the removal of this mode */ void RemoveMode(Channel* channel, Modes::ChangeList& changelist); @@ -630,6 +630,8 @@ class CoreExport ModeParser : public fakederef */ static void InitBuiltinModes(); + static bool IsModeChar(char chr); + /** Tidy a banmask. This makes a banmask 'acceptable' if fields are left out. * E.g. *