From: Vsevolod Stakhov Date: Wed, 4 Dec 2013 17:36:57 +0000 (+0000) Subject: Fix wrong attribute name. X-Git-Tag: 0.6.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304e5aa0ed96db2e609377a977abcb990c31aa5b;p=thirdparty%2Frspamd.git Fix wrong attribute name. --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 28ccf7c378..9cc9a7e885 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -167,7 +167,7 @@ parse_flags_string (struct fuzzy_rule *rule, struct config_file *cfg, ucl_object map->symbol = sym; elt = ucl_object_find_key (val, "flag"); if (elt != NULL && ucl_obj_toint_safe (elt, &map->fuzzy_flag)) { - elt = ucl_object_find_key (val, "weight"); + elt = ucl_object_find_key (val, "max_score"); if (elt != NULL) { map->weight = ucl_obj_todouble (elt); }