aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_logger.c')
-rw-r--r--src/lua/lua_logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_logger.c b/src/lua/lua_logger.c
index 2378ea59b..f112b4dfc 100644
--- a/src/lua/lua_logger.c
+++ b/src/lua/lua_logger.c
@@ -405,7 +405,7 @@ lua_logger_out_table (lua_State *L, gint pos, gchar *outbuf, gsize len)
r = rspamd_snprintf (d, remain + 1, "[%d] = ", i);
MOVE_BUF(d, remain, r);
- r = lua_logger_out_type (L, -1, d, remain);
+ r = lua_logger_out_type (L, lua_gettop (L), d, remain);
MOVE_BUF(d, remain, r);
first = FALSE;