réplica de
https://github.com/rspamd/rspamd.git
synced 2024-07-29 20:17:47 +02:00
[Minor] Do not expand implicit arrays as it breaks things
Este commit está contenido en:
padre
f2ca6b2e50
commit
a1e3ab7e5e
@ -374,6 +374,10 @@ local function try_load_redis_servers(options, rspamd_config, result)
|
||||
return true
|
||||
end
|
||||
|
||||
lutil.debugm(N, rspamd_config,
|
||||
'cannot load redis server from obj: %s, processed to %s',
|
||||
options, result)
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
|
@ -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;
|
||||
|
Cargando…
Referencia en una nueva incidencia
Block a user