Browse Source

[Fix] Selectors - attachments args condition

tags/1.8.3
Carsten Rosenberg 5 years ago
parent
commit
064e2c20a9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lualib/lua_selectors.lua

+ 1
- 1
lualib/lua_selectors.lua View File

@@ -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'

Loading…
Cancel
Save