aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 54c1dcad6..ac6b11e18 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -2373,7 +2373,7 @@ rspamd_lua_try_load_redis (lua_State *L, const ucl_object_t *obj,
*pcfg = cfg;
lua_pushvalue (L, res_pos);
- if (lua_pcall (L, 0, 1, err_idx) != 0) {
+ if (lua_pcall (L, 3, 1, err_idx) != 0) {
GString *tb;
tb = lua_touserdata (L, -1);