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

index a0aac9dbef5404c49108a87b3e78d5ec6a7d021d..2e8d943c1ceb2a3f426b93a3521d20516b27fb6e 100644 (file)
@@ -1492,7 +1492,7 @@ local function post_process()
           return sopt ~= k
         end
 
-        if not already_processed[res_name or 'default'] then
+        if not (already_processed and 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))