From: Vsevolod Stakhov Date: Wed, 25 Nov 2020 17:23:52 +0000 (+0000) Subject: [Minor] Fix the case X-Git-Tag: 2.7~107 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6dd9308b316987ca92926cb988644a45fa86f04d;p=rspamd.git [Minor] Fix the case --- diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index 594b60b53..b2596d0f4 100644 --- a/src/libserver/re_cache.c +++ b/src/libserver/re_cache.c @@ -941,7 +941,7 @@ rspamd_re_cache_process_selector (struct rspamd_task *task, gsize slen; const gchar *sel_data; - if (lua_type (L, -1) == LUA_TSTRING) { + if (lua_type (L, -1) != LUA_TTABLE) { txt = lua_check_text_or_string (L, -1); if (txt) {