aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/confighelp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-16 14:57:26 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-16 14:57:26 +0100
commit9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac (patch)
tree8e0cfba06430e2b0e40b26916a7ce55581e1baca /src/rspamadm/confighelp.c
parentef583245356015ce29961e0f7ffdb5880edc5fc2 (diff)
downloadrspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.tar.gz
rspamd-9ea3d1aa7c44ded48e8f9db0b2e4219429b03bac.zip
[Rework] Final efforts to make it compileable
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r--src/rspamadm/confighelp.c2
1 files changed, 1 insertions, 1 deletions
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;