From: Vsevolod Stakhov Date: Mon, 18 Feb 2019 15:42:26 +0000 (+0000) Subject: [Fix] Process orphaned `symbols` section X-Git-Tag: 1.9.0~127 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96ae0fe1867bc3c9ba5ea752bd93bd1b3632fa79;p=rspamd.git [Fix] Process orphaned `symbols` section --- diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index 8a61dcd29..ae05eed59 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -242,6 +242,12 @@ return function(cfg) ret = true end + if cfg.symbols then + for k, v in metric_pairs(cfg.symbols) do + symbol_transform(cfg, k, v) + end + end + check_statistics_sanity() if not cfg.actions then