aboutsummaryrefslogtreecommitdiff
path: root/include/mode.h
Commit message (Expand)AuthorAgeFilesLines
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-2/+2
* Fix various documentation comments.Gravatar Sadie Powell2021-03-311-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* Fix not sending ERR_INVALIDMODEPARAM when a parameter is malformed.•••Closes #1850. Gravatar Sadie Powell2021-02-271-0/+10
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-6/+6
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+6
* Add an oper only parameter to Simple{Channel,User}ModeHandler.Gravatar Sadie Powell2020-01-051-4/+12
* Fix various cases of broken indentation.Gravatar Peter Powell2019-07-261-6/+6
* Add a constant for the maximum length of a mode parameter.Gravatar Peter Powell2019-07-231-0/+4
* Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-121-0/+6
* Send the 001-004 numerics and MOTD/LUSERS from core_info.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-221-31/+0
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-12/+0
* Add an accessor for the last mode change list to ModeParser.•••GetLastParse will be going away soon. Gravatar Peter Powell2018-08-131-0/+4
* Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-101-4/+0
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-5/+5
* Enable using m_customprefix to alter core prefix modes.•••This replaces the devoice module which has now been removed. If you want users to be able to devoice themselves then you can load the customprefix module add the following config tag: <customprefix name="voice" depriv="yes"> If you wish to keep identical behaviour rather than allowing users to use "MODE #YourChannel -v TheirNick" then you can load the alias module and add the following config tag: <alias text="DEVOICE" format="#*" replace="MODE $2 -v $nick"> Gravatar Peter Powell2017-11-061-0/+9
* Move depriv from m_customprefix into PrefixMode.Gravatar Peter Powell2017-11-061-0/+19
* Add support for setting the unset rank in ModeHandler.Gravatar Peter Powell2017-11-061-6/+13
* Fix RPL_SERVERVERSION treating the modes as a single parameter.Gravatar Peter Powell2017-10-041-4/+4
* Add ModeParser::IsModeChar to standardise mode validation.Gravatar Peter Powell2017-09-181-0/+2
* Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-1/+1
* 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-1/+1
* Make ModeHandler::GetUserParameter() const, accept const UserGravatar Attila Molnar2016-12-301-1/+1
* Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and IsPar...Gravatar Attila Molnar2016-08-301-0/+33
* Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as constGravatar Attila Molnar2016-08-291-2/+2
* Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-5/+4
* Fix some whitespace issuesGravatar Attila Molnar2015-12-281-4/+4
* Implement ModeHandler::RegisterService()Gravatar Attila Molnar2015-11-231-0/+5
* Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* Add typedef ModeParser::ModeWatcherMap, remove ModeWatchIterGravatar Attila Molnar2014-12-151-3/+5
* Migrate code from ModeParser into cmd_mode (core_user)•••- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes() Gravatar Attila Molnar2014-09-041-21/+0
* Split ModeParser::DisplayListMode() into two parts•••ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter Gravatar Attila Molnar2014-09-041-0/+7
* Remove unused parameter passed to ModeParser::DisplayCurrentModes()Gravatar Attila Molnar2014-09-041-1/+1
* Let callers customize the begin/end positions for ModeParser::ModeParamsToCha...•••This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions Gravatar Attila Molnar2014-09-041-1/+5
* Use Modes::ChangeList in ModeHandler::RemoveMode()Gravatar Attila Molnar2014-09-031-4/+4
* Add a ModeParser::Process() overload that can process an entire Modes::Change...•••This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed Gravatar Attila Molnar2014-09-031-0/+11
* Make it possible to resume processing a partially processed Modes::ChangeList•••Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter Gravatar Attila Molnar2014-09-031-2/+5
* Split out ModeParser::ModeParamsToChangeList()Gravatar Attila Molnar2014-09-031-0/+13
* Split out ModeParser::ProcessSingle() from Process()•••This applies up to one MODE line's worth of mode changes from a Modes::ChangeList Gravatar Attila Molnar2014-09-031-1/+13
* Add mode process flag MODE_CHECKACCESSGravatar Attila Molnar2014-09-031-1/+9
* Remove ModeHandler::m_paramtype and GetTranslateType()Gravatar Attila Molnar2014-09-031-9/+0
* Remove ModeParser::LastParseTranslate and GetLastParseTranslate()Gravatar Attila Molnar2014-09-031-2/+0
* Remove ModeParser::LastParseParams and GetLastParseParams()Gravatar Attila Molnar2014-09-031-2/+0
* m_spanningtree Send MODE/FMODE from the OnMode hook•••If the MODE_LOCALONLY flag is set the mode change is not propagated Gravatar Attila Molnar2014-09-031-2/+2
* Populate a Modes::ChangeList object in ModeParser::Process()Gravatar Attila Molnar2014-09-031-0/+4
* Add Modes::Change and Modes::ChangeListGravatar Attila Molnar2014-09-031-0/+1
* Change mode_sequence to be a const ref in ModeParser::Process()•••Also change the signature of DisplayListModes() to accept a const ref Gravatar Attila Molnar2014-09-021-1/+1
* Pass prefix rank and prefix char to PrefixMode constructorGravatar Attila Molnar2014-08-061-1/+3
* Change allocation of InspIRCd::Modes to be physically part of the object cont...Gravatar Attila Molnar2014-06-241-1/+1
* Throw an exception if ModeParser::AddMode() failsGravatar Attila Molnar2014-02-231-2/+4