From 701a711049ee01373bc3862cc441fc3065c8dbc2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 24 Jul 2019 13:40:40 +0100 Subject: [Minor] Rename method name --- conf/statistic.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/statistic.conf') 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" -- cgit v1.2.3