mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 10:23:13 +02:00
Set set::spamfilter::utf8 to 'yes' by default.
This commit is contained in:
@@ -3,6 +3,19 @@ UnrealIRCd 6.1.2-git
|
||||
This is the git version (development version) for future 6.1.2. This is work
|
||||
in progress and may not be a stable version.
|
||||
|
||||
### Enhancements:
|
||||
* [set::spamfilter::utf8](https://www.unrealircd.org/docs/Set_block#set::spamfilter::utf8)
|
||||
is now on by default:
|
||||
* This means you can safely use UTF8 characters in like `[]` in regex.
|
||||
* Case insensitive matches work better. For example, for extended
|
||||
Latin, a spamfilter on `ę` then also matches `Ę`.
|
||||
* Other PCRE2 features such as [\p](https://www.pcre.org/current/doc/html/pcre2syntax.html#SEC5)
|
||||
can then be used. For example the regex `\p{Arabic}` would block all Arabic script.
|
||||
See also this [full list of scripts](https://www.pcre.org/current/doc/html/pcre2syntax.html#SEC7).
|
||||
Please use this new tool with care. Blocking an entire language or script
|
||||
is quite a drastic measure.
|
||||
* You can turn it off via: `set { spamfilter { utf8 yes; } }`
|
||||
|
||||
UnrealIRCd 6.1.1.1
|
||||
-------------------
|
||||
This 6.1.1.1 version is an update to 6.1.1: a bug and memory leak was fixed
|
||||
|
||||
@@ -1671,6 +1671,7 @@ void config_setdefaultsettings(Configuration *i)
|
||||
i->ident_connect_timeout = 3;
|
||||
i->ban_version_tkl_time = 86400; /* 1d */
|
||||
i->spamfilter_ban_time = 86400; /* 1d */
|
||||
i->spamfilter_utf8 = 1;
|
||||
safe_strdup(i->spamfilter_ban_reason, "Spam/advertising");
|
||||
safe_strdup(i->spamfilter_virus_help_channel, "#help");
|
||||
i->spamfilter_detectslow_warn = 250;
|
||||
|
||||
Reference in New Issue
Block a user