From 23f3f48508dfda96290f202b740c17ba604e89de Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 26 Feb 2016 09:51:03 +0000 Subject: Allow overwrite scores with the same priority --- src/libserver/cfg_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libserver/cfg_utils.c') diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 5d6b1525b..e87ba2a25 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -1386,7 +1386,7 @@ rspamd_config_add_metric_symbol (struct rspamd_config *cfg, sym_def = g_hash_table_lookup (metric->symbols, symbol); if (sym_def != NULL) { - if (sym_def->priority >= priority) { + if (sym_def->priority > priority) { msg_info_config ("symbol %s has been already registered with" "priority %ud, do not override (new priority: %ud)", symbol, -- cgit v1.2.3