summaryrefslogtreecommitdiff
path: root/include/builtinmodes.h
AgeCommit message (Collapse)Author
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-12-30Make ModeHandler::GetUserParameter() const, accept const UserAttila Molnar
2015-01-14cmode_k Fix oversight in substr() conversionAttila Molnar
While at it, introduce a named constant for maximum key length
2014-08-06Migrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, ↵Attila Molnar
remove cmode_{o,v} The default value for levelrequired is HALFOP_VALUE, meaning the ModeChannelVoice class is not required but it will be useful in case the default changes
2014-08-06Remove a bunch of useless classes representing simple core modesAttila Molnar
2014-03-09Move the wallops mode from the core into core_wallopsAttila Molnar
2014-02-15Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵Attila Molnar
ParamMode - Type of the extension used to store data is a template parameter - The extension is automatically unset when the mode is unset - Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset() - Transparently handle the case when OnSet() modifies the mode parameter - Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
2013-09-11Create a base class for prefix modesattilamolnar
Move Channel::SetPrefix() into Membership
2013-07-24umode_s Rewrite ProcessNoticeMasks() and remove a few related useless functionsattilamolnar
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-05-27Simplify user mode removal via ModeHandler::RemoveMode()attilamolnar
The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it
2013-05-27Deduplicate RemoveMode() implementationsattilamolnar
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar
2013-04-08Unite include/modes/*.h into include/builtinmodes.hattilamolnar