diff options
-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) |