From 1fffe523f6fbf4dea8444f984f07fb453c8669e1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 23 Nov 2018 14:08:58 +0000 Subject: [Project] Use lua_redis to configure servers in bayes Redis backend --- src/lua/lua_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/lua_common.c') 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); -- cgit v1.2.3