From: Vsevolod Stakhov Date: Mon, 25 Mar 2019 09:04:57 +0000 (+0000) Subject: [Fix] Fix priority for regexp symbols registriation X-Git-Tag: 1.9.1~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f41191cf8285c78065ab169d84aba138ad7b1dad;p=rspamd.git [Fix] Fix priority for regexp symbols registriation --- 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,