mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Config-file based *LINES/Spamfilter: preserve hit counters between rehashes.
Unlike non-config-based TKLs - which go through tkldb - they are still not preserved through restarts. But at least they are not lost due to REHASH. This is done via a save+restore, a bit complicated, but we have little choice (other than not doing this at all). This also moves remove_config_tkls() from conf.c to tkl.c
This commit is contained in:
@@ -32,7 +32,7 @@ This is work in progress and may not always be a stable version.
|
||||
each individual server and are not network-wide. This allows IRCOps to see
|
||||
which entries never get any hits and can potentially be removed.
|
||||
* Important exception: config-based spamfilters/bans lose their counters
|
||||
on `REHASH` and restart.
|
||||
on restart.
|
||||
* For non-config TKLs, the hit count and last hit timestamp are preserved
|
||||
across reboots (via tkldb).
|
||||
* Again, see *Developers and protocol* for the exact STATS field.
|
||||
|
||||
Reference in New Issue
Block a user