aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.Gravatar Peter Powell2019-06-071-16/+53
| | | | Closes #1055.
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* Add the <maxlist> tag and switch ListModeBase to always use it.Gravatar Peter Powell2018-12-191-2/+6
| | | | | | | | | | | | | | 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.
* 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.Gravatar Peter Powell2018-01-291-2/+2
| | | | | | | | | | | | | | | 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.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-5/+4
| | | | GCCs warnings for this are much better than Clangs.
* 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
| | | | parameters
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | substr() returns a new string while erase() and assign() modify the existing one
* 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 ↵Gravatar Adam2013-11-121-4/+4
| | | | automatically
* Send ListModeBase modes implicitly on channel syncGravatar attilamolnar2013-09-121-5/+0
| | | | Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
* Keep lists of mode handlers by typeGravatar attilamolnar2013-09-121-3/+5
|
* Move prefix mode specific fields and getters into PrefixModeGravatar attilamolnar2013-09-111-4/+4
| | | | Add ModeHandler::IsPrefixMode()
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
|
* Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* 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.Gravatar Peter Powell2013-05-151-4/+4
| | | | | - 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.
* 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()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|
* Restore <options:exemptchanops> with long namesGravatar danieldg2010-02-201-46/+49
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7
* Extend +X to take named modes in addition to mode lettersGravatar danieldg2010-02-201-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12501 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix build errorGravatar danieldg2010-02-151-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12459 e03df62e-2008-0410-955e-edbf42e46eb7
* Switch the order of arguments in the +X mode, thanks aquanight for the ↵Gravatar danieldg2010-02-141-11/+6
| | | | | | suggestion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12456 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow exemptchanops to modify the channel access level needed to bypass +tGravatar danieldg2010-02-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12413 e03df62e-2008-0410-955e-edbf42e46eb7
* Update m_exemptchanops to allow users to specify the status required for the ↵Gravatar danieldg2010-02-091-33/+41
| | | | | | exemption git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12412 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_COMMON from mode-provider modules (no longer needed due to better ↵Gravatar danieldg2010-01-151-1/+1
| | | | | | CAPAB checking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-6/+0
| | | | | | | | | | | This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Make OnChannelRestrictionApply take a User* instead of a Membership* ↵Gravatar danieldg2009-10-121-2/+2
| | | | | | [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11858 e03df62e-2008-0410-955e-edbf42e46eb7
* m_exemptchanops by jackmcbarn - channel mode +X to allow per-channel settingGravatar danieldg2009-10-121-0/+130
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7