]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix priority for regexp symbols registriation
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Mar 2019 09:04:57 +0000 (09:04 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Mar 2019 09:05:14 +0000 (09:05 +0000)
src/plugins/regexp.c

index 07d8e81b0221d59dfa5be9ddbec6a05b19b780cc..2fea0be97a31bb27dc8eaa397b7d1b972f19163e 100644 (file)
@@ -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,