aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 18:47:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 18:47:05 +0000
commitb4367c0c90b7ee7a4db77c169becff7c958ba23f (patch)
tree044468c643dc47393f357d92a8f627f0b57efc4b /src/lua
parent43394f8ce6a64df104f77aaa071e802d1fede4e5 (diff)
downloadrspamd-b4367c0c90b7ee7a4db77c169becff7c958ba23f.tar.gz
rspamd-b4367c0c90b7ee7a4db77c169becff7c958ba23f.zip
Implement words decaying for text parts.
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c
index 48a07d9f2..f0c9369bf 100644
--- a/src/lua/lua_util.c
+++ b/src/lua/lua_util.c
@@ -456,8 +456,8 @@ lua_util_tokenize_text (lua_State *L)
exceptions = g_list_reverse (exceptions);
}
- res = rspamd_tokenize_text ((gchar *)in, len, TRUE, 0, exceptions, compat,
- check_sig);
+ res = rspamd_tokenize_text ((gchar *)in, len, TRUE, NULL, exceptions, compat,
+ NULL);
if (res == NULL) {
lua_pushnil (L);