aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/control.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 13:17:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 13:17:43 +0000
commit041d2e56ebeb880a423eb7f8434cdab4f7efaf68 (patch)
treebfe5553c7b21bbe00aeec9c93ff9f52cde4f9af8 /src/rspamadm/control.c
parent3383065b190c63dfaa3ef837572b1b43f80ae841 (diff)
downloadrspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.tar.gz
rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.zip
[Rework] Simplify lua path initialization
Diffstat (limited to 'src/rspamadm/control.c')
-rw-r--r--src/rspamadm/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c
index 98bcd81f4..62a7e26ae 100644
--- a/src/rspamadm/control.c
+++ b/src/rspamadm/control.c
@@ -24,7 +24,6 @@
#include <event.h>
#include "libutil/util.h"
#include "lua/lua_common.h"
-#include "fuzzy_stat.lua.h"
static gchar *control_path = RSPAMD_DBDIR "/rspamd.sock";
static gboolean json = FALSE;
@@ -135,7 +134,7 @@ rspamd_control_finish_handler (struct rspamd_http_connection *conn,
cbdata->argc,
cbdata->argv,
obj,
- rspamadm_script_fuzzy_stat);
+ "fuzzy_stat");
rspamd_fstring_free (out);
ucl_object_unref (obj);