From 51ea5d5f2683610ba1a09ce93647ded20daf1752 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 15 May 2023 09:18:45 +0100 Subject: [PATCH] [Minor] Fix old bug that score was not converted to a number --- 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 81f914950..7f61a8b7e 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -538,7 +538,7 @@ local function multimap_callback(task, rule) sym = tbl.symbol end if tbl.score then - score = tbl.score + score = tonumber(tbl.score) end if tbl.opts then opts = tbl.opts -- 2.39.5