aboutsummaryrefslogtreecommitdiff
path: root/include/builtinmodes.h
Commit message (Expand)AuthorAgeFilesLines
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-2/+2
* Make ModeHandler::GetUserParameter() const, accept const UserGravatar Attila Molnar2016-12-301-1/+1
* cmode_k Fix oversight in substr() conversion•••While at it, introduce a named constant for maximum key length Gravatar Attila Molnar2015-01-141-0/+1
* Migrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, re...•••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 Gravatar Attila Molnar2014-08-061-2/+10
* Remove a bunch of useless classes representing simple core modesGravatar Attila Molnar2014-08-061-70/+0
* Move the wallops mode from the core into core_wallopsGravatar Attila Molnar2014-03-091-10/+0
* Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- 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 Gravatar Attila Molnar2014-02-151-3/+6
* Create a base class for prefix modes•••Move Channel::SetPrefix() into Membership Gravatar attilamolnar2013-09-111-8/+2
* umode_s Rewrite ProcessNoticeMasks() and remove a few related useless functionsGravatar attilamolnar2013-07-241-15/+7
* Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the U...Gravatar attilamolnar2013-07-191-1/+23
* Simplify user mode removal via ModeHandler::RemoveMode()•••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 Gravatar attilamolnar2013-05-271-3/+0
* Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-271-4/+0
* Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-11/+6
* Unite include/modes/*.h into include/builtinmodes.hGravatar attilamolnar2013-04-081-0/+189