aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-04 18:57:40 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-04 18:57:40 +0100
commitbc77385a733f5a54eebd74ff15bb0b2582df9ba0 (patch)
treec64fc1be8aafb25a163a58591bdbfcef5c2cf0f9 /src/lua/lua_task.c
parent6b04b2368959c96a41bda90a3419497f2eef67b7 (diff)
downloadrspamd-bc77385a733f5a54eebd74ff15bb0b2582df9ba0.tar.gz
rspamd-bc77385a733f5a54eebd74ff15bb0b2582df9ba0.zip
[Fix] Properly check the original email flag
Issue: #4167, #4104, #4187
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 1b4bda858..26cb7e1e9 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -3864,7 +3864,7 @@ rspamd_check_real_recipients_array_size (GPtrArray *ar)
struct rspamd_email_address *addr;
PTR_ARRAY_FOREACH(ar, i, addr) {
- if (!(addr->flags & LUA_ADDRESS_ORIGINAL)) {
+ if (!(addr->flags & RSPAMD_EMAIL_ADDR_ORIGINAL)) {
ret ++;
}
}