Browse Source

[Minor] Fix the case

tags/2.7
Vsevolod Stakhov 3 years ago
parent
commit
6dd9308b31
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libserver/re_cache.c

+ 1
- 1
src/libserver/re_cache.c View File

@@ -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) {

Loading…
Cancel
Save