diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 12:42:14 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 12:42:14 +0000 |
commit | 3cf2f3130034e46ff0224cc576626599422e8401 (patch) | |
tree | 11c85e27beda01882a63b6ff3920610816d5ab4b /src/rspamadm/confighelp.c | |
parent | 4d589bd8919effafcdb79005a3c2a5eb461480f3 (diff) | |
download | rspamd-3cf2f3130034e46ff0224cc576626599422e8401.tar.gz rspamd-3cf2f3130034e46ff0224cc576626599422e8401.zip |
[Rework] Stop embedding rspamadm scripts into C
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r-- | src/rspamadm/confighelp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c index a64afe4b0..f3da9422d 100644 --- a/src/rspamadm/confighelp.c +++ b/src/rspamadm/confighelp.c @@ -85,6 +85,7 @@ rspamadm_confighelp_show (struct rspamd_config *cfg, gint argc, gchar **argv, { rspamd_fstring_t *out; + rspamd_lua_set_path (cfg->lua_state, NULL, NULL); out = rspamd_fstring_new (); if (json) { @@ -107,7 +108,7 @@ rspamadm_confighelp_show (struct rspamd_config *cfg, gint argc, gchar **argv, argc, argv, obj, - rspamadm_script_confighelp); + "confighelp"); rspamd_fstring_free (out); return; |