diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 18:47:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-12 18:47:05 +0000 |
commit | b4367c0c90b7ee7a4db77c169becff7c958ba23f (patch) | |
tree | 044468c643dc47393f357d92a8f627f0b57efc4b /src/lua | |
parent | 43394f8ce6a64df104f77aaa071e802d1fede4e5 (diff) | |
download | rspamd-b4367c0c90b7ee7a4db77c169becff7c958ba23f.tar.gz rspamd-b4367c0c90b7ee7a4db77c169becff7c958ba23f.zip |
Implement words decaying for text parts.
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_util.c | 4 |
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); |