aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/control.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-02 13:45:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-02 13:45:36 +0000
commitf5df796a9f91bdecb3f3e35e67fd0c52adedb685 (patch)
tree75a7c931dedad0b8343938117d74b0faeb00768f /src/rspamadm/control.c
parent5b1a87305b3c8fde5db68b191f1ac239343d01a4 (diff)
downloadrspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.tar.gz
rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.zip
[Feature] Allow rspamadm commands to export methods in Lua
Diffstat (limited to 'src/rspamadm/control.c')
-rw-r--r--src/rspamadm/control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c
index 62a7e26ae..a65ff554c 100644
--- a/src/rspamadm/control.c
+++ b/src/rspamadm/control.c
@@ -38,7 +38,8 @@ struct rspamadm_command control_command = {
.name = "control",
.flags = 0,
.help = rspamadm_control_help,
- .run = rspamadm_control
+ .run = rspamadm_control,
+ .lua_subrs = NULL,
};
struct rspamadm_control_cbdata {