aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-16 17:27:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-16 17:27:09 +0000
commitb53a152e069882acca3127ac591fbe2f15c7911f (patch)
tree18c09767bbc8b1629308f835bc4f729f877275d4 /lualib
parentd8c5f3adff9b2b347172ae04577a826d186821ed (diff)
downloadrspamd-b53a152e069882acca3127ac591fbe2f15c7911f.tar.gz
rspamd-b53a152e069882acca3127ac591fbe2f15c7911f.zip
[Minor] Try to deal with squeezed symbols with a special care
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_squeeze_rules.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_squeeze_rules.lua b/lualib/lua_squeeze_rules.lua
index e310986d6..f43d7383a 100644
--- a/lualib/lua_squeeze_rules.lua
+++ b/lualib/lua_squeeze_rules.lua
@@ -230,6 +230,7 @@ exports.squeeze_init = function()
rspamd_config:register_symbol{
type = 'virtual',
name = k,
+ flags = 'squeezed',
parent = squeeze_function_ids[v.order],
no_squeeze = true, -- to avoid infinite recursion
}