diff options
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r-- | src/plugins/lua/once_received.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index e6dd44436..328be0d20 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -141,7 +141,7 @@ local function check_quantity_received (task) end local opts = rspamd_config:get_all_opt('options') -if opts and type(opts) ~= 'table' then +if type(opts) == 'table' then if type(opts['check_local']) == 'boolean' then check_local = opts['check_local'] end |