summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-09 17:57:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-12-09 17:57:14 +0000
commitf31b8e4dd3e36c71578458e37fdc5b65bcc253a9 (patch)
tree9a3ad62a5b3c555e0087b6c0cf00f7a7c538a3c7 /src/plugins/lua/spamassassin.lua
parent32170ed25521b59d4b88e3eb245c3afbc1b6e52d (diff)
downloadrspamd-f31b8e4dd3e36c71578458e37fdc5b65bcc253a9.tar.gz
rspamd-f31b8e4dd3e36c71578458e37fdc5b65bcc253a9.zip
[Minor] Fix condition
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index a0aac9dbe..2e8d943c1 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[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))