diff options
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r-- | src/lua/lua_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index df8526d0f..4e8e6eb6d 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -163,7 +163,7 @@ lua_config_get_module_opt (lua_State * L) if (mname && optname) { obj = get_module_opt (cfg, mname, optname); if (obj) { - return lua_rcl_obj_push (L, obj); + return lua_rcl_obj_push (L, obj, TRUE); } } } @@ -198,7 +198,7 @@ lua_config_get_all_opt (lua_State * L) if (mname) { obj = ucl_obj_get_key (cfg->rcl_obj, mname); if (obj != NULL) { - return lua_rcl_obj_push (L, obj); + return lua_rcl_obj_push (L, obj, TRUE); } } } |