aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-5/+5
* Add a quick method for adding a generic RPL_STATS row.Gravatar Sadie Powell2021-12-241-1/+1
* Add the final keyword to all remaining classes that can have it.Gravatar Sadie Powell2021-12-201-5/+10
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-0/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
* | Remove a bunch of unnecessary whitespace.Gravatar Sadie Powell2021-08-171-8/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-1/+1
|\|
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-1/+1
| * Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-2/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-1/+1
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-15/+8
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-071-0/+1
|\|
| * Send RPL_SAVENICK from irc2 when renaming a user to their UUID.Gravatar Sadie Powell2020-12-221-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-07-291-19/+19
|\|
| * Replace all erroneous space indentation with tab indentation.Gravatar Sadie Powell2020-07-291-19/+19
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-3/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-191-21/+17
|\|
| * Generalise XLine stats numerics using RPL_STATS from aircd.Gravatar Sadie Powell2020-02-181-2/+25
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-3/+8
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+8
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-2/+9
|\|
| * Only skip applying more X-lines to a user if they have been killed.•••This fixes an issue with the previous commit where if a user had a non-killing X-line applied to them (e.g. Q-line) they would not have any further X-lines applied to them. Thanks to @linuxdaemon for pointing this out. Gravatar Peter Powell2019-05-171-1/+5
| * Fix applying pending xlines to online users.Gravatar Peter Powell2019-05-161-2/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-22/+43
|\|
| * Fix BanCache entries existing after X-line expiry.•••When DefaultApply() adds a hit to the BanCache it uses the X-line duration to set a duration on the entry. This can result in an entry lasting longer than the X-line itself. Fix this by setting the entry duration to the time left on the X-line. Gravatar Matt Schatz2019-03-101-1/+1
| * Improve the handling of config X-lines and filters. (#1583)Gravatar Matt Schatz2019-02-221-19/+40
| * X-line expiries: use the new DurationString() function.Gravatar Matt Schatz2019-02-181-2/+2
* | UserManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-02-051-1/+3
|\|
| * Add the reason to xline removal notices. (#1545)•••Show the reason in manual xline removal SNOTICEs, just like expiry SNOTICEs do. This modifies XLineManager::DelLine() to require another string reference passed to it. Requested by @Robby-.Gravatar Matt Schatz2019-01-241-1/+3
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
|/
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-6/+6
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-5/+5
* Show reasons in xline expiry messages.Gravatar Robby2018-10-141-2/+2
* Don't sync xlines defined in the config and expire them on rehash.•••Closes #1427. Gravatar Peter Powell2018-09-231-1/+22
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-4/+0
|\
| * Fix ELine::Matches returning false on existing match•••When checking for an E-Line match, we want to actually check for a current match even if we previously matched and are set exempt. This fixes situations where you have an E-Lined CGI:IRC address, a G-Lined IP range for some area/host/etc and a smaller E-Lined IP range for known good clients. Currently when CGI:IRC changes the IP, E-Lines are rechecked but because the user is already exempt (from the CGI:IRC E-Line), they are set no longer exempt and match a G-Line, when they should match an E-Line. This exact change has been done before in commit 'c8b344e' and shortly reverted in 'c490a90' to fix issue #989 (CGI:IRC users remaining exempt when the CGI:IRC address is E-Lined but they are not). The actual cause to this issue was likely that the user's hostname was not changed from the CGI:IRC hostname/IP prior to rechecking E-Lines. This is being fixed in a separate commit. Gravatar genius30002018-04-061-3/+0
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-0/+1
* | 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/+5
* | Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-3/+3
* | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-9/+3
|\|
| * Fix killing elined clients on [gkz]line in some cases.Gravatar Peter Powell2017-09-111-8/+3
| * Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression•••Fixes issue #989 reported by @B00mX0r Gravatar Attila Molnar2015-04-161-0/+3