1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-25 16:46:38 +02:00
Files
unrealircd/include
Bram Matthys a85a38e69d Add the ability to SPAMFILTER message-tags.
The new target type is called 'T' and we match against "name=value"
of each message tag (or just "name" if it is without value).

Example: SPAMFILTER ADD -simple T kill 0 this_is_a_test +typing=active
(No this is not a suggestion :D)

This probably won't be used much at all, but it is good to have the
option available in case there is some massive problem,
especially since more message tags may pop up sooner or later.

Caveat: this is actually a bit slow as we may have to check multiple
message tags for a single line.
If there are zero message-tag spamfilters then we will automatically
short-circuit and save all this CPU, which will be the most common case.
2021-05-25 20:31:10 +02:00
..
2002-02-16 20:15:41 +00:00
2016-05-12 16:57:32 +08:00
2000-02-28 22:45:44 +00:00
2004-05-13 16:39:23 +00:00
2021-05-15 15:42:34 +02:00
2018-12-19 13:58:44 +01:00