aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lua/lua_config.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index 6abbf7d0e..0941c0aa3 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -1601,7 +1601,12 @@ lua_config_register_symbol (lua_State * L)
return luaL_error (L, "no callback for symbol %s", name);
}
- type |= lua_parse_symbol_flags (flags_str);
+ if (flags_str) {
+ /* Turn off squeezing as well for now */
+ /* TODO: deal with it */
+ no_squeeze = TRUE;
+ type |= lua_parse_symbol_flags (flags_str);
+ }
ret = rspamd_register_symbol_fromlua (L,
cfg,