commit 5b43e90: [Minor] Multimap: Stringify symbol options
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Nov 21 13:35:15 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-11-21 13:31:43 +0000
URL: https://github.com/rspamd/rspamd/commit/5b43e9027a4d755e15b7b9d882bb500aa996d31e
[Minor] Multimap: Stringify symbol options
---
src/plugins/lua/multimap.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the Commits
mailing list