]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix flag name
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Nov 2021 15:48:51 +0000 (15:48 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 8 Nov 2021 15:48:51 +0000 (15:48 +0000)
lualib/lua_mime.lua

index ffc1fb2f9d4a253ab17f358230c3417487cd7624..4e61b4a20aa1c1b42c3c683c70a839d72806387c 100644 (file)
@@ -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