From: Vsevolod Stakhov Date: Mon, 20 May 2019 16:18:30 +0000 (+0100) Subject: [Minor] More fixes X-Git-Tag: 2.0~877 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6836e1a5ae11d2af3f8f712db8a4b672f261032e;p=thirdparty%2Frspamd.git [Minor] More fixes --- diff --git a/lualib/lua_maps_expressions.lua b/lualib/lua_maps_expressions.lua index 61d2e1186c..bf3215d392 100644 --- a/lualib/lua_maps_expressions.lua +++ b/lualib/lua_maps_expressions.lua @@ -152,6 +152,7 @@ local function create(cfg, obj, module_name) ret.rules[name] = { selector = sel, map = map, + name = name, } else return nil @@ -195,6 +196,8 @@ local function create(cfg, obj, module_name) } end + ret.symbol = obj.symbol + return ret end