aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-09-27 12:58:01 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-09-27 12:58:01 +0100
commit6ed56a333ca7ef1b2a5a007d67fda0759af1a280 (patch)
treebcab0b8a6e1720e5c88aebd423f758142cc03903 /rules
parent51e57d2c7201a6cab0e548eac8a5923c02eb603c (diff)
downloadrspamd-6ed56a333ca7ef1b2a5a007d67fda0759af1a280.tar.gz
rspamd-6ed56a333ca7ef1b2a5a007d67fda0759af1a280.zip
[Minor] Make API consistent
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