summaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/statistic.conf')
-rw-r--r--conf/statistic.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/statistic.conf b/conf/statistic.conf
index bb76853ca..1e78c73cd 100644
--- a/conf/statistic.conf
+++ b/conf/statistic.conf
@@ -41,7 +41,7 @@ classifier "bayes" {
symbol = "BAYES_SPAM";
spam = true;
}
- learn_condition = "return require("lua_bayes_learn").autolearn"
+ learn_condition = "return require("lua_bayes_learn").can_learn"
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/classifier-bayes.conf"