summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_config.c')
-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!