commit c7689ea: [Minor] Fix occasional break
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon May 20 17:07:10 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-05-20 17:49:18 +0100
URL: https://github.com/rspamd/rspamd/commit/c7689eadfbc2230c0adaf0e855625c6bf688694a
[Minor] Fix occasional break
---
src/plugins/lua/multimap.lua | 4 ++--
1 file 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)
More information about the Commits
mailing list