commit 32170ed: [Minor] Spamassassin: Fix shadow results caching

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Dec 9 17:56:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-12-09 17:48:55 +0000
URL: https://github.com/rspamd/rspamd/commit/32170ed25521b59d4b88e3eb245c3afbc1b6e52d (HEAD -> master)

[Minor] Spamassassin: Fix shadow results caching

---
 src/plugins/lua/spamassassin.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index 2b0e5e44e..a0aac9dbe 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -1492,7 +1492,7 @@ local function post_process()
           return sopt ~= k
         end
 
-        if not already_processed then
+        if not already_processed[res_name or 'default'] then
           -- Execute symbol
           local function exec_symbol(cur_res)
             local res,trace = expression:process_traced(gen_process_atom_cb(cur_res, task))


More information about the Commits mailing list