diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-22 14:17:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-22 14:17:23 +0000 |
commit | 75e7de90cd1fec5b3fbf60e8e341f14ddc86b725 (patch) | |
tree | 36f66f262e54865ed2adffe2b6be3f17a0448a17 | |
parent | 0e1095a4845012a4b90eb2627d1627fefbe633fb (diff) | |
download | rspamd-75e7de90cd1fec5b3fbf60e8e341f14ddc86b725.tar.gz rspamd-75e7de90cd1fec5b3fbf60e8e341f14ddc86b725.zip |
[Minor] Remove redundant check
-rw-r--r-- | src/lua/lua_redis.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index f87878837..3a1445b61 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -832,13 +832,6 @@ rspamd_lua_redis_prepare_connection (lua_State *L, gint *pcbref, gboolean is_asy } lua_pop (L, 1); - lua_pushstring (L, "ev_base"); - lua_gettable (L, -2); - if (lua_type (L, -1) == LUA_TUSERDATA) { - ev_base = lua_check_ev_base (L, -1); - } - lua_pop (L, 1); - if (cfg && ev_base) { ret = TRUE; } |