diff options
Diffstat (limited to 'lualib/rspamd_config_transform.lua')
-rw-r--r-- | lualib/rspamd_config_transform.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lualib/rspamd_config_transform.lua b/lualib/rspamd_config_transform.lua index 4f656ca9c..af3e8180e 100644 --- a/lualib/rspamd_config_transform.lua +++ b/lualib/rspamd_config_transform.lua @@ -209,6 +209,12 @@ local function convert_metric(cfg, metric) for k, v in metric_pairs(metric.group) do group_transform(cfg, k, v) end + else + cfg.group = { + ungrouped = { + symbols = {} + } + } end if metric.symbol then |