From e1a378c031958b5ee10abd74e11683984a762c25 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 3 Apr 2017 17:45:36 +0100 Subject: [PATCH] [Minor] Do not ignore Lua metatokens --- src/libstat/classifiers/bayes.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5