aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Send ListModeBase modes implicitly on channel sync•••Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel() Gravatar attilamolnar2013-09-121-5/+0
* Keep lists of mode handlers by typeGravatar attilamolnar2013-09-121-3/+5
* Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode() Gravatar attilamolnar2013-09-111-4/+4
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-4/+4
* Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-5/+4
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-2/+1
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
* Restore <options:exemptchanops> with long names•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-201-46/+49
* Extend +X to take named modes in addition to mode letters•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12501 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-201-4/+17
* Fix build error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-151-3/+3
* Switch the order of arguments in the +X mode, thanks aquanight for the sugges...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-141-11/+6
* Allow exemptchanops to modify the channel access level needed to bypass +t•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-091-0/+2