]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Spamassassin: Fix shadow results caching
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 9 Dec 2020 17:48:55 +0000 (17:48 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 9 Dec 2020 17:48:55 +0000 (17:48 +0000)
src/plugins/lua/spamassassin.lua

index 2b0e5e44ec337154391eeb777572f979a29eaf13..a0aac9dbef5404c49108a87b3e78d5ec6a7d021d 100644 (file)
@@ -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))