aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_nickflood.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-3/+3
* Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-261-0/+1
* Modernize the syntax of various templates.Gravatar Sadie Powell2022-06-231-1/+1
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
* Fix various edge cases in extensible synchronisation.•••- Fix not forwarding the accountid extensible if it is set. - Rename the variadic Set() overload to SetFwd(). - Re-add the `const T&` overload of Set(). - Move `bool synced` to SimpleExtItem from StringExtItem. - Only sync extensibles if their instance is marked as syncable. Gravatar Sadie Powell2022-01-211-1/+1
* Mark more mode classes as final.Gravatar Sadie Powell2021-10-011-1/+1
* 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
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-14/+10
* Add a forwarding overload of SimpleExtItem#Set.Gravatar Sadie Powell2021-03-171-1/+1
* Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
* Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-2/+2
* Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-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/+3
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-3/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-0/+1
|\|
| * Show the mode syntax in ERR_INVALIDMODEPARAM.Gravatar Peter Powell2019-06-121-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-5/+1
|\|
| * Delete some obsolete comments.Gravatar Peter Powell2019-05-091-4/+0
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
|/
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-2/+2
* 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-1/+1
* Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-211-2/+2
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-3/+6
* Make the duration of nickflood and joinflood configurable.Gravatar Peter Powell2016-09-161-3/+12
* Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-1/+1
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-3/+3
* Rename UserChanList to User::ChanList, remove UCListIterGravatar Attila Molnar2014-07-141-2/+2
* Change the type of the user parameter in the OnUserPreNick() hook from User t...•••No remote users were passed to this hook before. Remove needless IS_LOCAL() checks. Gravatar Attila Molnar2014-06-201-1/+1
* Add ParamModeBase and ParamMode, change all parameter modes to inherit from P...•••- 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 Gravatar Attila Molnar2014-02-151-36/+26
* Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-2/+2
* Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-3/+3
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
* 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
* Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-1/+1
* Call Channel::SetModeParam() from the mode parser when needed instead of requ...Gravatar attilamolnar2013-06-131-2/+0
* Get rid of the NICKForced extension•••Don't run OnUserPreNick when the nick change is forced Gravatar attilamolnar2013-05-181-3/+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
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-3/+2
* 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