aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
Commit message (Expand)AuthorAgeFilesLines
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-1/+2
* Replace ModeAction with bool.•••This enum is functionally the same as bool but with weird semantics. Gravatar Sadie Powell2023-01-221-4/+4
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-2/+2
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-2/+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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-161-6/+0
|\|
| * Use ERR_UNAVAILRESOURCE for things that should be retried later.•••Also move it to the global numerics header to avoid duplication. Gravatar Sadie Powell2022-04-121-6/+0
* | 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
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-181-3/+4
|\|
| * Fix joinflood overwriting the bootwait timer on split.Gravatar Sadie Powell2021-06-181-1/+1
| * Fix joinflood applying the bootwait timeout to rehashes.Gravatar Sadie Powell2021-06-181-2/+3
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
* | Fire OnUserPreJoin regardless of whether the join is an override.Gravatar Sadie Powell2021-05-231-2/+2
* | 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-10-271-2/+21
|\|
| * Add an option to allow disengaging joinflood on initial boot.Gravatar Sadie Powell2020-10-121-0/+4
| * Add an option to allow disengaging joinflood after a netsplit.Gravatar Sadie Powell2020-10-121-3/+21
* | 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/+2
* | 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-3/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+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-2/+2
|\|
| * Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-2/+2
* | 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
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-1/+7
* 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
* Make the duration of nickflood and joinflood configurable.Gravatar Peter Powell2016-09-161-2/+11