aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-25 09:04:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-25 09:05:14 +0000
commitf41191cf8285c78065ab169d84aba138ad7b1dad (patch)
tree7ab0a9cefab9d308d44004db71ea7ead04c12038 /src/plugins/regexp.c
parent31bc20082ddb3a52222fe15e42300dc53e47e4fd (diff)
downloadrspamd-f41191cf8285c78065ab169d84aba138ad7b1dad.tar.gz
rspamd-f41191cf8285c78065ab169d84aba138ad7b1dad.zip
[Fix] Fix priority for regexp symbols registriation
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 07d8e81b0..2fea0be97 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -398,7 +398,7 @@ regexp_module_config (struct rspamd_config *cfg)
}
}
else {
- priority = ucl_object_get_priority (value) + 1;
+ priority = 0;
}
rspamd_config_add_symbol (cfg, cur_item->symbol,