From: Vsevolod Stakhov Date: Mon, 3 Apr 2017 16:45:36 +0000 (+0100) Subject: [Minor] Do not ignore Lua metatokens X-Git-Tag: 1.5.5~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1a378c031958b5ee10abd74e11683984a762c25;p=rspamd.git [Minor] Do not ignore Lua metatokens --- 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);