aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/lua_repl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-15 16:20:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-15 16:20:59 +0100
commit938a0dba32a7f1632c3e14b92d986384aff19d7a (patch)
tree32e64f23e9bbed4c9123fb19972406ed6349d1d1 /src/rspamadm/lua_repl.c
parent46d32375ac0fe58156da513670ea7c9bccf0aed2 (diff)
downloadrspamd-938a0dba32a7f1632c3e14b92d986384aff19d7a.tar.gz
rspamd-938a0dba32a7f1632c3e14b92d986384aff19d7a.zip
[Minor] Better Lua 5.3 compatibility
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r--src/rspamadm/lua_repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c
index a807101e0..26b642871 100644
--- a/src/rspamadm/lua_repl.c
+++ b/src/rspamadm/lua_repl.c
@@ -703,7 +703,7 @@ rspamadm_lua (gint argc, gchar **argv, const struct rspamadm_command *cmd)
lua_newtable (L);
for (elt = lua_args; *elt != NULL; elt ++) {
- lua_pushnumber (L, i);
+ lua_pushinteger (L, i);
lua_pushstring (L, *elt);
lua_settable (L, -3);
i++;