From 6ed56a333ca7ef1b2a5a007d67fda0759af1a280 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 27 Sep 2024 12:58:01 +0100 Subject: [Minor] Make API consistent --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules') diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index daa1e378d..44fa964e3 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -56,7 +56,7 @@ reconf['TO_NEEDS_ENCODING'] = { group = 'headers', } -if rspamd_config:is_mime_utf() then +if rspamd_config:is_mime_utf8() then -- Disable some of the rules preserving the underlying logic reconf['FROM_NEEDS_ENCODING'].condition = function() return false -- cgit v1.2.3