diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-31 11:40:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-31 11:40:03 +0100 |
commit | 226172a163462231afcd50d599f49c9b92ff77e4 (patch) | |
tree | 28827289eb795f0c979d550f1b756e6b7a128b78 | |
parent | ffbdb2535da524c09ee111aeff980000c71118ab (diff) | |
download | rspamd-226172a163462231afcd50d599f49c9b92ff77e4.tar.gz rspamd-226172a163462231afcd50d599f49c9b92ff77e4.zip |
[Fix] Fix min_learns option
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 3d1c6ecad..0cca28575 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -2207,7 +2207,7 @@ rspamd_rcl_config_init (struct rspamd_config *cfg) RSPAMD_CL_FLAG_INT_32, "Maximum count of tokens (words) to be considered for statistics"); rspamd_rcl_add_default_handler (sub, - "max_tokens", + "min_learns", rspamd_rcl_parse_struct_integer, G_STRUCT_OFFSET (struct rspamd_classifier_config, min_learns), RSPAMD_CL_FLAG_UINT, |