diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-08 10:02:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-08 10:02:45 +0000 |
commit | 33084de1611f45e5c1c21b528ee9308b468ac842 (patch) | |
tree | 453f547fcf6aa151595a25c03c85e2e7c258fff2 | |
parent | 9ebb11d00a678e97f14b4cd33a68c3e5cd385392 (diff) | |
download | rspamd-33084de1611f45e5c1c21b528ee9308b468ac842.tar.gz rspamd-33084de1611f45e5c1c21b528ee9308b468ac842.zip |
[Minor] Fix arguments passing to rspamadm scripts
-rw-r--r-- | src/rspamadm/rspamadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 301fa168f..ef52af1e3 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -272,7 +272,7 @@ rspamadm_execute_lua_ucl_subr (gint argc, gchar **argv, for (i = 1; i < argc; i ++) { lua_pushstring (L, argv[i]); - lua_rawseti (L, -1, i); + lua_rawseti (L, -2, i); } /* Push results */ |