commit 6dd9308: [Minor] Fix the case
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Nov 25 17:28:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-11-25 17:23:52 +0000
URL: https://github.com/rspamd/rspamd/commit/6dd9308b316987ca92926cb988644a45fa86f04d (HEAD -> master)
[Minor] Fix the case
---
src/libserver/re_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
More information about the Commits
mailing list