]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Do not ignore Lua metatokens
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Apr 2017 16:45:36 +0000 (17:45 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Apr 2017 16:45:36 +0000 (17:45 +0100)
src/libstat/classifiers/bayes.c

index aa6899d06d55b83877dc29e08a048385d773c51c..95bd1f5ea854fc60e7ad930b62aaf8cb6d1649dd 100644 (file)
@@ -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);