diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-11-20 22:44:33 +0100 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2018-11-20 22:44:33 +0100 |
commit | 064e2c20a93f2202edf99164bfadb4c2e5621378 (patch) | |
tree | 2c937d45c60baf6cd0659695fe0f3d18f2633f73 /lualib | |
parent | 432e25f7d7313b10bbcb1b9eca27f65b47175165 (diff) | |
download | rspamd-064e2c20a93f2202edf99164bfadb4c2e5621378.tar.gz rspamd-064e2c20a93f2202edf99164bfadb4c2e5621378.zip |
[Fix] Selectors - attachments args condition
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_selectors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 8092d7892..4025ef680 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -138,7 +138,7 @@ uses any type by default)]], local parts = task:get_parts() or E local digests = {} - if args ~= nil then + if #args > 0 then local rspamd_cryptobox = require "rspamd_cryptobox_hash" local encoding = args[1] or 'hex' local ht = args[2] or 'blake2' |