summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cfg_file.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-05 14:28:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-05 14:28:41 +0000
commite57950d1f51e5ee77e185adb459f8d66f05ce82d (patch)
tree2f7e486fd9692dd11f1a655a8dc45be9a88035e8 /src/lua/lua_cfg_file.c
parentd75ece11c02ecd3b05ad3ded2270055dc812a2f7 (diff)
downloadrspamd-e57950d1f51e5ee77e185adb459f8d66f05ce82d.tar.gz
rspamd-e57950d1f51e5ee77e185adb459f8d66f05ce82d.zip
Fix load of ucl config.
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r--src/lua/lua_cfg_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c
index 0e22ec8f2..6d50153f4 100644
--- a/src/lua/lua_cfg_file.c
+++ b/src/lua/lua_cfg_file.c
@@ -140,7 +140,7 @@ lua_post_load_config (struct config_file *cfg)
if (name != NULL && lua_istable (L, -1)) {
obj = lua_rcl_obj_get (L, -1);
if (obj != NULL) {
- cfg->rcl_obj = ucl_object_insert_key (cfg->rcl_obj, obj, name, keylen, true);
+ cfg->rcl_obj = ucl_object_insert_key_merged (cfg->rcl_obj, obj, name, keylen, true);
}
}
}