From c7689eadfbc2230c0adaf0e855625c6bf688694a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 May 2019 17:49:18 +0100 Subject: [PATCH] [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) -- 2.39.5