diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-11-25 17:23:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-11-25 17:23:52 +0000 |
commit | 6dd9308b316987ca92926cb988644a45fa86f04d (patch) | |
tree | c414413904bf7d615070d2b1a2bdf82ab70a4767 | |
parent | 228458db4dc3c20049947e7750f3fc5e134309ae (diff) | |
download | rspamd-6dd9308b316987ca92926cb988644a45fa86f04d.tar.gz rspamd-6dd9308b316987ca92926cb988644a45fa86f04d.zip |
[Minor] Fix the case
-rw-r--r-- | src/libserver/re_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |