summaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-17 12:03:25 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-17 12:03:25 +0100
commitbfee5414dcc8ea706f85e9d574e8245f1d355fb7 (patch)
tree024c250c86d10f67a9f1acdde2313cf4247dac08 /src/libserver
parent23bc82085c7dc90cb7fffb5e5363647eb5b9b39b (diff)
downloadrspamd-bfee5414dcc8ea706f85e9d574e8245f1d355fb7.tar.gz
rspamd-bfee5414dcc8ea706f85e9d574e8245f1d355fb7.zip
[Minor] Set top section explicitly
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_rcl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.cxx b/src/libserver/cfg_rcl.cxx
index cfa8b0f67..134cdec98 100644
--- a/src/libserver/cfg_rcl.cxx
+++ b/src/libserver/cfg_rcl.cxx
@@ -2460,6 +2460,8 @@ rspamd_rcl_config_init(struct rspamd_config *cfg, GHashTable *skip_sections)
"Lua files to load");
}
+ cfg->rcl_top_section = top;
+
return top;
}