commit bfee541: [Minor] Set top section explicitly

Vsevolod Stakhov vsevolod at rspamd.com
Thu Aug 17 11:49:22 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-08-17 12:03:25 +0100
URL: https://github.com/rspamd/rspamd/commit/bfee5414dcc8ea706f85e9d574e8245f1d355fb7

[Minor] Set top section explicitly

---
 src/libserver/cfg_rcl.cxx | 2 ++
 1 file changed, 2 insertions(+)

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;
 }
 


More information about the Commits mailing list