diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-15 10:53:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-15 10:53:10 +0100 |
commit | ce6199422c354b48c4b77310ced1350acc2b5cef (patch) | |
tree | 231996939eb18298cfee9cc34c036488eed8431e | |
parent | 774b55a4705d9e303d5601181ff8779738a2d8e8 (diff) | |
download | rspamd-ce6199422c354b48c4b77310ced1350acc2b5cef.tar.gz rspamd-ce6199422c354b48c4b77310ced1350acc2b5cef.zip |
[Fix] Another fix for postfilters
-rw-r--r-- | src/libserver/symbols_cache.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 61060e29c..2642b607a 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -1448,6 +1448,11 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task, checkpoint = task->checkpoint; } + if (stage == RSPAMD_TASK_STAGE_POST_FILTERS && checkpoint->pass < + RSPAMD_CACHE_PASS_POSTFILTERS) { + checkpoint->pass = RSPAMD_CACHE_PASS_POSTFILTERS; + } + msg_debug_task ("symbols processing stage at pass: %d", checkpoint->pass); start_events_pending = rspamd_session_events_pending (task->s); |