aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/pw.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/pw.c
parent5b1a87305b3c8fde5db68b191f1ac239343d01a4 (diff)
downloadrspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.tar.gz
rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.zip
[Feature] Allow rspamadm commands to export methods in Lua
Diffstat (limited to 'src/rspamadm/pw.c')
-rw-r--r--src/rspamadm/pw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/pw.c b/src/rspamadm/pw.c
index fb2817c59..4345ff1c5 100644
--- a/src/rspamadm/pw.c
+++ b/src/rspamadm/pw.c
@@ -35,7 +35,8 @@ struct rspamadm_command pw_command = {
.name = "pw",
.flags = 0,
.help = rspamadm_pw_help,
- .run = rspamadm_pw
+ .run = rspamadm_pw,
+ .lua_subrs = NULL,
};
static GOptionEntry entries[] = {