aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
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