aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/multimap.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-21 13:31:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-21 13:31:43 +0000
commit5b43e9027a4d755e15b7b9d882bb500aa996d31e (patch)
treeac8e407716face19afc9bc27998cadc2360306a2 /src/plugins/lua/multimap.lua
parentb3d061b0f16404ec3c2dc677484bc8e71b881f00 (diff)
downloadrspamd-5b43e9027a4d755e15b7b9d882bb500aa996d31e.tar.gz
rspamd-5b43e9027a4d755e15b7b9d882bb500aa996d31e.zip
[Minor] Multimap: Stringify symbol options
Diffstat (limited to 'src/plugins/lua/multimap.lua')
-rw-r--r--src/plugins/lua/multimap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index 13316583c..347dee9bc 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -590,7 +590,7 @@ local function multimap_callback(task, rule)
if opt then
- task:insert_result(forced, symbol, score, opt)
+ task:insert_result(forced, symbol, score, tostring(opt))
else
task:insert_result(forced, symbol, score)
end