diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-20 17:49:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-05-20 17:49:18 +0100 |
commit | c7689eadfbc2230c0adaf0e855625c6bf688694a (patch) | |
tree | 401884047c3d6f69863af5ce42149c2c6d501e1a /src/plugins/lua/multimap.lua | |
parent | 14d86e4ceeefda9387cce2e80466945a6e0265e9 (diff) | |
download | rspamd-c7689eadfbc2230c0adaf0e855625c6bf688694a.tar.gz rspamd-c7689eadfbc2230c0adaf0e855625c6bf688694a.zip |
[Minor] Fix occasional break
Diffstat (limited to 'src/plugins/lua/multimap.lua')
-rw-r--r-- | src/plugins/lua/multimap.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 620005b81..9ee8f59c2 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -529,8 +529,8 @@ local function multimap_callback(task, rule) local _,symbol,score = parse_ret(rule, result) local forced = false if symbol then - if r['symbols_set'] then - if not r['symbols_set'][symbol] then + if rule.symbols_set then + if not rule.symbols_set[symbol] then rspamd_logger.infox(task, 'symbol %s is not registered for map %s, ' .. 'replace it with just %s', symbol, rule.symbol, rule.symbol) |