]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Set top section explicitly
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 17 Aug 2023 11:03:25 +0000 (12:03 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 17 Aug 2023 11:03:25 +0000 (12:03 +0100)
src/libserver/cfg_rcl.cxx

index cfa8b0f67f7850611260e0fd5a8fc62072398137..134cdec98f94270d46604ccf21b72fd34dabc601 100644 (file)
@@ -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;
 }