From 9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 16 Aug 2023 14:57:26 +0100 Subject: [Rework] Final efforts to make it compileable --- src/rspamadm/confighelp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rspamadm/confighelp.c') diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c index 4c035ac94..2ad07c0a6 100644 --- a/src/rspamadm/confighelp.c +++ b/src/rspamadm/confighelp.c @@ -233,7 +233,7 @@ rspamadm_confighelp(gint argc, gchar **argv, const struct rspamadm_command *cmd) rspamd_rcl_config_init(cfg, NULL); lua_pushboolean(cfg->lua_state, true); lua_setglobal(cfg->lua_state, "confighelp"); - rspamd_rcl_add_lua_plugins_path(cfg, plugins_path, FALSE, NULL, NULL); + rspamd_rcl_add_lua_plugins_path(cfg->rcl_top_section, cfg, plugins_path, FALSE, NULL); /* Init modules to get documentation strings */ i = 0; -- cgit v1.2.3