commit f41191c: [Fix] Fix priority for regexp symbols registriation
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Mar 25 09:07:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-03-25 09:04:57 +0000
URL: https://github.com/rspamd/rspamd/commit/f41191cf8285c78065ab169d84aba138ad7b1dad (HEAD -> master)
[Fix] Fix priority for regexp symbols registriation
---
src/plugins/regexp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the Commits
mailing list