diff options
author | Jose Celestino <japc@co.sapo.pt> | 2025-01-26 18:49:20 +0000 |
---|---|---|
committer | Jose Celestino <japc@co.sapo.pt> | 2025-01-26 18:49:20 +0000 |
commit | 9b29aafe518af7ab62802b71aecaa555934f85a4 (patch) | |
tree | 9e396fbe80afa508f7aa8598300619cc3634f99e /src/plugins/lua/multimap.lua | |
parent | de7717d9dabcc1cce1eb8a3a6e7b88b9f9f3ec3a (diff) | |
download | rspamd-9b29aafe518af7ab62802b71aecaa555934f85a4.tar.gz rspamd-9b29aafe518af7ab62802b71aecaa555934f85a4.zip |
[Minor] Pass both the multimap and the rules descriptions for combined when creating
Diffstat (limited to 'src/plugins/lua/multimap.lua')
-rw-r--r-- | src/plugins/lua/multimap.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index a61da606b..b96c105b1 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -1267,6 +1267,7 @@ local function add_multimap_rule(key, newrule) { rules = newrule.rules, expression = newrule.expression, + description = newrule.description, on_load = newrule.dynamic_symbols and multimap_on_load_gen(newrule) or nil, }, N, 'Combined map for ' .. newrule.symbol) if not newrule.combined then |