aboutsummaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-01 18:37:06 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-01 18:37:06 +0300
commit74cf00015278784d04d26b44bcf326f9493f7d62 (patch)
treeafe42b0a47504bf383d755e1b3254e1164944712 /src/filter.c
parent0fec0b5c2d20fb505f1b8345d48b5098fe5598f6 (diff)
downloadrspamd-74cf00015278784d04d26b44bcf326f9493f7d62.tar.gz
rspamd-74cf00015278784d04d26b44bcf326f9493f7d62.zip
* Add weights command for getting weights of each message by each statfile
* Add ability to specify multiplier when learning * Add statistics about spam and ham messages
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c
index 9ad1362f0..a300820da 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -489,7 +489,7 @@ process_autolearn (struct statfile *st, struct worker_task *task, GTree * tokens
return;
}
- classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE, NULL);
+ classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE, NULL, 1.);
maybe_write_binlog (ctx->cfg, st, statfile, tokens);
}
}