summaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-24 20:24:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-07-24 20:33:33 +0100
commit976a824a0ec586dd5bc82a86d14c3654b10fa4ef (patch)
tree1aa8bab35b43eb700cbf9ffa45578dbc76e1876b /src/lua
parente3748d403bf05f87ddc12d38869321557b99ad45 (diff)
downloadrspamd-976a824a0ec586dd5bc82a86d14c3654b10fa4ef.tar.gz
rspamd-976a824a0ec586dd5bc82a86d14c3654b10fa4ef.zip
[Project] Preliminary support of lua conditions for regexps
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index c880b235e..06a2f57b6 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -3024,7 +3024,7 @@ lua_config_register_regexp (lua_State *L)
}
cache_re = rspamd_re_cache_add (cfg->re_cache, re->re, type,
- (gpointer) header_str, header_len);
+ (gpointer) header_str, header_len, -1);
/*
* XXX: here are dragons!