1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 11:53:13 +02:00

Revert "UTF8 support in spamfilter. We now ship with PCRE2 10.34 and require this"

This reverts commit bc70882bd3.
This commit is contained in:
Bram Matthys
2020-05-29 08:25:47 +02:00
parent 7b211efeb7
commit d2efe01d9b
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ Match *unreal_create_match(MatchType type, char *str, char **error)
int options = 0;
char buf2[512];
options = PCRE2_CASELESS|PCRE2_MATCH_INVALID_UTF;
options = PCRE2_CASELESS|PCRE2_NEVER_UTF|PCRE2_NEVER_UCP;
m->ext.pcre2_expr = pcre2_compile(str, PCRE2_ZERO_TERMINATED, options, &errorcode, &erroroffset, NULL);
if (m->ext.pcre2_expr == NULL)