1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 04:33:13 +02:00

Add spamfilter { input-conversion confusables; ..... } for UTF8 conversion

of lookalike characters to simple latin characters.

Also add SPAMINFO command so you can see the result of the conversion.
This commit is contained in:
Bram Matthys
2025-03-22 08:31:22 +01:00
parent 9b3d219743
commit e1fac402d5
3 changed files with 54 additions and 4 deletions
+1
View File
@@ -1252,6 +1252,7 @@ struct NameBan {
#define INPUT_CONVERSION_STRIP_CONTROL_CODES 0x1
#define INPUT_CONVERSION_DEFAULT (INPUT_CONVERSION_STRIP_CONTROL_CODES)
#define INPUT_CONVERSION_CONFUSABLES 0x2
/** Spamfilter sub-struct of TKL entry (Spamfilter) */
struct Spamfilter {