mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 07:56:38 +02:00
f333aa0c09
you can now configure to hide the message content in spamfilter hit messages. Generally it is very useful to see if a spamfilter hit is correct or not, so the default is 'always', but it also has privacy implications so there is now this option to disable it. Suggested by alice, quite a while ago. https://www.unrealircd.org/docs/Set_block#set::spamfilter::show-message-content-on-hit Also as mentioned there: UnrealIRCd has the following spying countermeasure (for many years) to help that spamfilters are not abused for spying. When a spamfilter hit happens that has an action like gline or blocking, it is visible to the user that an action was taken. There is also the action 'warn', which means: take no action and only warn IRCOps, that one would be easy to use as a spy tool, so when this happens and message content was revealed, numeric 659 (RPL_SPAMCMDFWD) is sent to the client to indicate that the message is allowed through but IRCOps were informed. With this new set::spamfilter::show-message-content-on-hit feature, when the message content was hidden due to this setting (eg due to 'never' or 'channel-only'), the warn message will not be sent as there is no need to inform the user in such a case.