* @param mclass The object type of this mode handler, one of ModeHandler::Class
*/
ModeHandler(Module* me, const std::string& name, char modeletter, ParamSpec params, ModeType type, Class mclass = MC_OTHER);
- virtual CullResult cull();
+ virtual CullResult cull() CXX11_OVERRIDE;
virtual ~ModeHandler();
/** Register this object in the ModeParser
/**
* 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);
*/
static void InitBuiltinModes();
+ static bool IsModeChar(char chr);
+
/** Tidy a banmask. This makes a banmask 'acceptable' if fields are left out.
* E.g.
*