diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-23 18:09:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-23 18:09:28 +0000 |
commit | a1e3ab7e5ef8e2c7a95214cb433dc9594983b21a (patch) | |
tree | f4d3cc0ba5b408075b898e7737648ec32acd32bf /src/lua/lua_common.c | |
parent | f2ca6b2e501c5d2e0be9489341ed2f46fc95d39f (diff) | |
download | rspamd-a1e3ab7e5ef8e2c7a95214cb433dc9594983b21a.tar.gz rspamd-a1e3ab7e5ef8e2c7a95214cb433dc9594983b21a.zip |
[Minor] Do not expand implicit arrays as it breaks things
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index ac6b11e18..dcab21530 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -2367,7 +2367,7 @@ rspamd_lua_try_load_redis (lua_State *L, const ucl_object_t *obj, } /* Function arguments */ - ucl_object_push_lua (L, obj, true); + ucl_object_push_lua (L, obj, false); pcfg = lua_newuserdata (L, sizeof (*pcfg)); rspamd_lua_setclass (L, "rspamd{config}", -1); *pcfg = cfg; |