aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-3/+3
* Allow also using a prefix chat in autoop and exemptchanops.Gravatar Sadie Powell2023-04-211-1/+6
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+0
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-261-0/+1
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-171-1/+1
* | Remove ValidateParam and rename CanonicalizeParam.•••There's basically no safe way to handle a malformed list mode sent by a remote server without causing a desync. Its probably for the best if we just only apply validation to locally added list modes entries. Gravatar Sadie Powell2022-04-171-1/+2
* | Add ListModeBase::CanonicalizeParam, fix cleaning extban masks.Gravatar Sadie Powell2022-04-161-1/+1
* | Make the parameter field of ValidateParam const.Gravatar Sadie Powell2022-04-161-5/+5
* | Use a consistent message format for end of list numerics.Gravatar Sadie Powell2022-04-011-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+2
* | Mark all mode classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-4/+5
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-4/+4
* | Convert various mode methods to take Mode::Change.•••- AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode Gravatar Sadie Powell2021-03-301-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-191-3/+7
|\|
| * Add enum constants for list mode numerics.Gravatar Sadie Powell2020-02-181-3/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+4
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-18/+56
|\|
| * Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-121-3/+4
| * Fix building on older compiler versions.Gravatar Peter Powell2019-06-071-1/+1
| * Validate the exemptchanops parameter better and check permissions.•••Closes #1055. Gravatar Peter Powell2019-06-071-16/+53
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-1/+1
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* | ModeParser: remove fakederef.Gravatar Sadie Powell2019-02-071-3/+3
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-4/+4
|/
* Add the <maxlist> tag and switch ListModeBase to always use it.•••The old method of doing this was: 1. Extremely inconsistently used. Some list modes used <banlist> and some used their own config tag. 2. Not documented in the slightest. There was a small reference to <maxbans> for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a <chanfilter> tag for general config whilst also using it for the max list settings. The new <maxlist> tag avoids these issues entirely. Gravatar Peter Powell2018-12-191-2/+6
* Use consistent numerics when a mode already exists or doesn't exist.Gravatar Peter Powell2018-12-091-10/+0
* Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.Gravatar Peter Powell2018-12-091-5/+0
* Add ERR_INVALIDMODEPARAM for responding to invalid mode params.•••Currently on invalid modes we do a combination of different things: 1. Send a custom mode-specific numeric (which often collides with other modes). 2. Send a server notice. 3. Do absolutely nothing. This new numeric is a generic way of handling invalid parameters when setting a mode that avoids all of the mistakes of the previous behaviour. Gravatar Peter Powell2018-01-291-2/+2
* 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/+4
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-14/+9
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-5/+5
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* m_exemptchanops Fix parameter validationGravatar Attila Molnar2014-08-061-2/+16
* Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-1/+1
* Add a ModeParser::FindMode() overload that takes a mode name and a mode typeGravatar Attila Molnar2014-02-201-11/+4
* Remove some dead codeGravatar Attila Molnar2014-01-311-1/+0
* Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-4/+4