commit 70d9716: [Minor] Fix flag name

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Nov 8 15:56:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-11-08 15:48:51 +0000
URL: https://github.com/rspamd/rspamd/commit/70d9716811a80dd00dfaea3bbdbde082787a1dda (HEAD -> master)

[Minor] Fix flag name

---
 lualib/lua_mime.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index ffc1fb2f9..4e61b4a20 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -515,7 +515,7 @@ end
 -- Adds/removes headers both internal and in the milter reply
 --]]
 exports.modify_headers = function(task, hdr_alterations)
-  if task:has_flag('skip') then
+  if task:has_flag('skip_process') then
     -- Cannot set flags for skipped (and unprocessed) task
     return
   end


More information about the Commits mailing list