diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-26 09:51:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-26 09:51:03 +0000 |
commit | 23f3f48508dfda96290f202b740c17ba604e89de (patch) | |
tree | 018e85f332443627a75c8e05a60c8cc565785496 /src/libserver/cfg_utils.c | |
parent | f5c39f1f346415a4c1e58836822995d7f245557d (diff) | |
download | rspamd-23f3f48508dfda96290f202b740c17ba604e89de.tar.gz rspamd-23f3f48508dfda96290f202b740c17ba604e89de.zip |
Allow overwrite scores with the same priority
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |