aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
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 /src/lua
parentd8c5f3adff9b2b347172ae04577a826d186821ed (diff)
downloadrspamd-b53a152e069882acca3127ac591fbe2f15c7911f.tar.gz
rspamd-b53a152e069882acca3127ac591fbe2f15c7911f.zip
[Minor] Try to deal with squeezed symbols with a special care
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index 0941c0aa3..d6397efe6 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -1508,6 +1508,9 @@ lua_parse_symbol_flags (const gchar *str)
if (strstr (str, "idempotent") != NULL) {
ret |= SYMBOL_TYPE_IDEMPOTENT;
}
+ if (strstr (str, "squeezed") != NULL) {
+ ret |= SYMBOL_TYPE_SQUEEZED;
+ }
}
return ret;