diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-03 17:45:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-03 17:45:36 +0100 |
commit | e1a378c031958b5ee10abd74e11683984a762c25 (patch) | |
tree | 52fa56359f65e105551ab9eeeec56a815bddee03 /src/libstat/classifiers | |
parent | 6a6ba8d9c495b1034ff9de72de121cd317c61a7d (diff) | |
download | rspamd-e1a378c031958b5ee10abd74e11683984a762c25.tar.gz rspamd-e1a378c031958b5ee10abd74e11683984a762c25.zip |
[Minor] Do not ignore Lua metatokens
Diffstat (limited to 'src/libstat/classifiers')
-rw-r--r-- | src/libstat/classifiers/bayes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/classifiers/bayes.c b/src/libstat/classifiers/bayes.c index aa6899d06..95bd1f5ea 100644 --- a/src/libstat/classifiers/bayes.c +++ b/src/libstat/classifiers/bayes.c @@ -110,10 +110,12 @@ bayes_classify_token (struct rspamd_classifier *ctx, task = cl->task; +#if 0 if (tok->flags & RSPAMD_STAT_TOKEN_FLAG_LUA_META) { /* Ignore lua metatokens for now */ return; } +#endif for (i = 0; i < ctx->statfiles_ids->len; i++) { id = g_array_index (ctx->statfiles_ids, gint, i); |