priority = ucl_object_toint (elt);
}
else {
- priority = ucl_object_get_priority (obj);
+ priority = ucl_object_get_priority (obj) + 1;
}
elt = ucl_object_lookup (obj, "description");
rspamd_config:set_metric_symbol({
name = k, score = r['score'],
description = r['description'],
- priority = 1,
+ priority = 2,
one_shot = true })
scores_added[k] = 1
end
if not scores_added[key] then
rspamd_config:set_metric_symbol({
name = key, score = score,
- priority = 1, flags = 'ignore'})
+ priority = 2, flags = 'ignore'})
end
end, scores)