]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix order check for post-filters
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Sep 2016 11:22:54 +0000 (12:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 8 Sep 2016 11:22:54 +0000 (12:22 +0100)
src/libserver/symbols_cache.c

index 58f8236240b9b6c9de068a4c543e3057dc848217..db5d52221f71d8cb5b853b68cebe8eaf307923b6 100644 (file)
@@ -1676,7 +1676,7 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task,
                                        saved_priority = item->priority;
                                }
                                else {
-                                       if (item->priority < saved_priority &&
+                                       if (item->priority > saved_priority &&
                                                        rspamd_session_events_pending (task->s) > start_events_pending) {
                                                /*
                                                 * Delay further checks as we have higher