aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/classifiers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-03 17:45:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-03 17:45:36 +0100
commite1a378c031958b5ee10abd74e11683984a762c25 (patch)
tree52fa56359f65e105551ab9eeeec56a815bddee03 /src/libstat/classifiers
parent6a6ba8d9c495b1034ff9de72de121cd317c61a7d (diff)
downloadrspamd-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.c2
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);