commit 6836e1a: [Minor] More fixes

Vsevolod Stakhov vsevolod at highsecure.ru
Mon May 20 17:07:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-05-20 17:18:30 +0100
URL: https://github.com/rspamd/rspamd/commit/6836e1a5ae11d2af3f8f712db8a4b672f261032e

[Minor] More fixes

---
 lualib/lua_maps_expressions.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lualib/lua_maps_expressions.lua b/lualib/lua_maps_expressions.lua
index 61d2e1186..bf3215d39 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
 


More information about the Commits mailing list