diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-25 09:04:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-25 09:05:14 +0000 |
commit | f41191cf8285c78065ab169d84aba138ad7b1dad (patch) | |
tree | 7ab0a9cefab9d308d44004db71ea7ead04c12038 /src/plugins/regexp.c | |
parent | 31bc20082ddb3a52222fe15e42300dc53e47e4fd (diff) | |
download | rspamd-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.c | 2 |
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, |