diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-18 13:26:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-18 13:26:26 +0100 |
commit | 02e433ff1f9fa327387a7d0453e3e851776fd160 (patch) | |
tree | dc83e02a07f3039f3c2e666461e008319b542ca1 /src/plugins | |
parent | 180eb573d8d56b5c39313f389cda762122adb6b3 (diff) | |
download | rspamd-02e433ff1f9fa327387a7d0453e3e851776fd160.tar.gz rspamd-02e433ff1f9fa327387a7d0453e3e851776fd160.zip |
[Minor] Fix several issues with flag propagation
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/spf.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/spf.lua b/src/plugins/lua/spf.lua index b9add61a6..356507250 100644 --- a/src/plugins/lua/spf.lua +++ b/src/plugins/lua/spf.lua @@ -119,6 +119,8 @@ local function spf_check_callback(task) local function flag_to_symbol(fl) if bit.band(fl, rspamd_spf.flags.temp_fail) ~= 0 then return local_config.symbols.dnsfail + elseif bit.band(fl, rspamd_spf.flags.plusall) ~= 0 then + return local_config.symbols.plusall elseif bit.band(fl, rspamd_spf.flags.perm_fail) ~= 0 then return local_config.symbols.permfail elseif bit.band(fl, rspamd_spf.flags.na) ~= 0 then |