diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 17:36:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 17:36:57 +0000 |
commit | 304e5aa0ed96db2e609377a977abcb990c31aa5b (patch) | |
tree | 5fc40ad40264a8dbe3f66948468de2671f7b5f9f | |
parent | b966b20a152306f72efc113b079d5b56804c657d (diff) | |
download | rspamd-304e5aa0ed96db2e609377a977abcb990c31aa5b.tar.gz rspamd-304e5aa0ed96db2e609377a977abcb990c31aa5b.zip |
Fix wrong attribute name.
-rw-r--r-- | src/plugins/fuzzy_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 28ccf7c37..9cc9a7e88 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); } |