Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-06 | Enable using m_customprefix to alter core prefix modes. | Peter Powell | |
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"> | |||
2017-11-06 | Move depriv from m_customprefix into PrefixMode. | Peter Powell | |
2017-11-06 | Add support for setting the unset rank in ModeHandler. | Peter Powell | |
2017-10-04 | Fix RPL_SERVERVERSION treating the modes as a single parameter. | Peter Powell | |
2017-09-18 | Add ModeParser::IsModeChar to standardise mode validation. | Peter Powell | |
2017-08-26 | Fix a bunch of Doxygen warnings. | Peter Powell | |
2017-07-12 | Add 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-30 | Make ModeHandler::GetUserParameter() const, accept const User | Attila Molnar | |
2016-08-30 | Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and ↵ | Attila Molnar | |
IsParameterMode() | |||
2016-08-29 | Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as const | Attila Molnar | |
2016-08-29 | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool | Attila Molnar | |
2015-12-28 | Fix some whitespace issues | Attila Molnar | |
2015-11-23 | Implement ModeHandler::RegisterService() | Attila Molnar | |
2014-12-15 | Change type of some associative containers to their flat versions, including ↵ | Attila Molnar | |
Extensible storage | |||
2014-12-15 | Add typedef ModeParser::ModeWatcherMap, remove ModeWatchIter | Attila Molnar | |
2014-09-04 | Migrate code from ModeParser into cmd_mode (core_user) | Attila Molnar | |
- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes() | |||
2014-09-04 | Split ModeParser::DisplayListMode() into two parts | Attila Molnar | |
ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter | |||
2014-09-04 | Remove unused parameter passed to ModeParser::DisplayCurrentModes() | Attila Molnar | |
2014-09-04 | Let callers customize the begin/end positions for ↵ | Attila Molnar | |
ModeParser::ModeParamsToChangeList() This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions | |||
2014-09-03 | Use Modes::ChangeList in ModeHandler::RemoveMode() | Attila Molnar | |
2014-09-03 | Add a ModeParser::Process() overload that can process an entire ↵ | Attila Molnar | |
Modes::ChangeList This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed | |||
2014-09-03 | Make it possible to resume processing a partially processed Modes::ChangeList | Attila Molnar | |
Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter | |||
2014-09-03 | Split out ModeParser::ModeParamsToChangeList() | Attila Molnar | |
2014-09-03 | Split out ModeParser::ProcessSingle() from Process() | Attila Molnar | |
This applies up to one MODE line's worth of mode changes from a Modes::ChangeList | |||
2014-09-03 | Add mode process flag MODE_CHECKACCESS | Attila Molnar | |
2014-09-03 | Remove ModeHandler::m_paramtype and GetTranslateType() | Attila Molnar | |
2014-09-03 | Remove ModeParser::LastParseTranslate and GetLastParseTranslate() | Attila Molnar | |
2014-09-03 | Remove ModeParser::LastParseParams and GetLastParseParams() | Attila Molnar | |
2014-09-03 | m_spanningtree Send MODE/FMODE from the OnMode hook | Attila Molnar | |
If the MODE_LOCALONLY flag is set the mode change is not propagated | |||
2014-09-03 | Populate a Modes::ChangeList object in ModeParser::Process() | Attila Molnar | |
2014-09-03 | Add Modes::Change and Modes::ChangeList | Attila Molnar | |
2014-09-02 | Change mode_sequence to be a const ref in ModeParser::Process() | Attila Molnar | |
Also change the signature of DisplayListModes() to accept a const ref | |||
2014-08-06 | Pass prefix rank and prefix char to PrefixMode constructor | Attila Molnar | |
2014-06-24 | Change allocation of InspIRCd::Modes to be physically part of the object ↵ | Attila Molnar | |
containing it using fakederef | |||
2014-02-23 | Throw an exception if ModeParser::AddMode() fails | Attila Molnar | |
2014-02-22 | Add ModeParser::GetModes(), returns all user/chanmodes | Attila Molnar | |
2014-02-21 | Assign an id to user modes, parameter chanmodes and simple chanmodes | Attila Molnar | |
2014-02-20 | Add a ModeParser::FindMode() overload that takes a mode name and a mode type | Attila Molnar | |
2014-02-20 | Create a name -> ModeHandler* map | Attila Molnar | |
2014-02-18 | Replace ModeMasks with a two-dimensional array | Attila Molnar | |
2014-02-18 | Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵ | Attila Molnar | |
ModeType | |||
2014-02-15 | Add 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 | |||
2014-02-15 | Add ModeHandler::IsParameterMode() and MC_PARAM | Attila Molnar | |
2014-01-31 | Remove some dead code | Attila Molnar | |
2013-11-09 | Fix PrefixMode not being exported which caused runtime link errors. | Peter Powell | |
2013-09-12 | Keep lists of mode handlers by type | attilamolnar | |
2013-09-12 | Add ModeHandler::IsListModeBase() and MC_LIST | attilamolnar | |
2013-09-11 | Move prefix mode specific fields and getters into PrefixMode | attilamolnar | |
Add ModeHandler::IsPrefixMode() | |||
2013-09-11 | Create a base class for prefix modes | attilamolnar | |
Move Channel::SetPrefix() into Membership | |||
2013-09-11 | Add a type id field to ModeHandler | attilamolnar | |