]> jfr.im git - irc/unrealircd/unrealircd.git/commit
Fix write bug in tkldb and add spamfilter::action stop.
authorBram Matthys <redacted>
Tue, 11 Jul 2023 12:16:12 +0000 (14:16 +0200)
committerBram Matthys <redacted>
Tue, 11 Jul 2023 12:32:11 +0000 (14:32 +0200)
commit4c3d2a6d6dde0656959a3d0959d19da9bebc15af
tree2908056c06646e4512cd69af6c3aa49fd8d100b3
parent32701e6f990ed06542796a61ae7ffcd8e74fb30d
Fix write bug in tkldb and add spamfilter::action stop.
The spamfilter::action stop ill prevent processing other spamfilters.
This would normally be a bit unusual, and potentially dangerous when you
do exclude things this way, but can be useful in some circumstances.

Stopping only affects the same type of spamfilters (general or central
spamfilters), so they don't interfere.

The tkldb write DB bug had to do with that it was processing
central spamfilters, which should be skipped just like config
based spamfilters were already skipped.
12 files changed:
doc/RELEASE-NOTES.md
include/h.h
include/struct.h
src/api-efunctions.c
src/misc.c
src/modules/antimixedutf8.c
src/modules/antirandom.c
src/modules/blacklist.c
src/modules/message.c
src/modules/tkl.c
src/modules/tkldb.c
src/parse.c