diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-02 13:45:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-02 13:45:36 +0000 |
commit | f5df796a9f91bdecb3f3e35e67fd0c52adedb685 (patch) | |
tree | 75a7c931dedad0b8343938117d74b0faeb00768f /src/rspamadm/lua_repl.c | |
parent | 5b1a87305b3c8fde5db68b191f1ac239343d01a4 (diff) | |
download | rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.tar.gz rspamd-f5df796a9f91bdecb3f3e35e67fd0c52adedb685.zip |
[Feature] Allow rspamadm commands to export methods in Lua
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r-- | src/rspamadm/lua_repl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index f959c6bf3..0edfeb05e 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -54,7 +54,8 @@ struct rspamadm_command lua_command = { .name = "lua", .flags = 0, .help = rspamadm_lua_help, - .run = rspamadm_lua + .run = rspamadm_lua, + .lua_subrs = NULL, }; /* |