diff options
Diffstat (limited to 'src/plugins/lua/emails.lua')
-rw-r--r-- | src/plugins/lua/emails.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/emails.lua b/src/plugins/lua/emails.lua index 862d82725..9d9a54d03 100644 --- a/src/plugins/lua/emails.lua +++ b/src/plugins/lua/emails.lua @@ -107,7 +107,7 @@ if opts and type(opts) == 'table' then end end -if table.maxn(rules) > 0 then +if #rules > 0 then -- add fake symbol to check all maps inside a single callback local id = rspamd_config:register_symbol({ type = 'callback', |