diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-23 14:08:58 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-23 16:10:28 +0000 |
commit | 1fffe523f6fbf4dea8444f984f07fb453c8669e1 (patch) | |
tree | 8822a1e70bf25968179eb37b2140d6e97ef9687c /src/lua | |
parent | ee8a7f23d9b5b932a0acba5cf9ce319d222c3052 (diff) | |
download | rspamd-1fffe523f6fbf4dea8444f984f07fb453c8669e1.tar.gz rspamd-1fffe523f6fbf4dea8444f984f07fb453c8669e1.zip |
[Project] Use lua_redis to configure servers in bayes Redis backend
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.c | 2 |
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); |