mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-25 16:46:38 +02:00
a85a38e69d
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.