summaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-07-15 19:49:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-07-15 19:49:58 +0100
commitb4679a32d4a586200399d941fa1acc982deeb98c (patch)
treec02ffe08549352ca636cd5bc4188587ba16a27c5 /src/libserver/cfg_rcl.c
parentfae4ed9fce781764540e636fec1e8397f1f9f532 (diff)
downloadrspamd-b4679a32d4a586200399d941fa1acc982deeb98c.tar.gz
rspamd-b4679a32d4a586200399d941fa1acc982deeb98c.zip
[Project] Fix lua bindings
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r--src/libserver/cfg_rcl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index a8f3c57a6..b19a1dedc 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -1382,7 +1382,8 @@ rspamd_rcl_composite_handler (rspamd_mempool_t *pool,
composite_name = key;
- if ((composite = rspamd_composites_manager_add_from_ucl(cfg->composites_manager, obj)) != NULL) {
+ if ((composite = rspamd_composites_manager_add_from_ucl(cfg->composites_manager,
+ composite_name, obj)) != NULL) {
rspamd_symcache_add_symbol (cfg->cache, composite_name, 0,
NULL, composite, SYMBOL_TYPE_COMPOSITE, -1);
}