aboutsummaryrefslogtreecommitdiffstats
path: root/conf/statistic.conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-24 13:40:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-24 13:40:40 +0100
commit701a711049ee01373bc3862cc441fc3065c8dbc2 (patch)
tree75624d86d48e4f3a9f34e5f19a412d830ee54400 /conf/statistic.conf
parentebf85df69089ca407d280df4cfaeb865e1e455f1 (diff)
downloadrspamd-701a711049ee01373bc3862cc441fc3065c8dbc2.tar.gz
rspamd-701a711049ee01373bc3862cc441fc3065c8dbc2.zip
[Minor] Rename method name
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"