diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-17 14:48:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-17 14:48:26 +0000 |
commit | 48c38a585dfce909b22557a125e7afecf84accdb (patch) | |
tree | 6b00981c697017112400a63a111e091cc2f9df77 /lualib/lua_squeeze_rules.lua | |
parent | ee638abdb4255d1af153ae619f3743814b79df22 (diff) | |
download | rspamd-48c38a585dfce909b22557a125e7afecf84accdb.tar.gz rspamd-48c38a585dfce909b22557a125e7afecf84accdb.zip |
[Minor] Fix squeezed groups enabling
Diffstat (limited to 'lualib/lua_squeeze_rules.lua')
-rw-r--r-- | lualib/lua_squeeze_rules.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lualib/lua_squeeze_rules.lua b/lualib/lua_squeeze_rules.lua index 9401d6fcc..b2560ddba 100644 --- a/lualib/lua_squeeze_rules.lua +++ b/lualib/lua_squeeze_rules.lua @@ -246,7 +246,9 @@ exports.squeeze_init = function() squeezed_groups[v.group] = {} end - table.insert(squeezed_groups[v.group], v) + table.insert(squeezed_groups[v.group], k) + else + logger.debugm(SN, rspamd_config, 'no metric symbol found for %s, maybe bug', k) end if not squeezed_rules[v.order] then squeezed_rules[v.order] = {} |