From: Vsevolod Stakhov Date: Tue, 2 Mar 2021 09:38:34 +0000 (+0000) Subject: [Minor] Preserve compatibility for empty keys X-Git-Tag: 3.0~625 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6d1c2713ad56ede02bff68d848859797e06558df;p=rspamd.git [Minor] Preserve compatibility for empty keys --- diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua index 3b8344e5f..72190b19e 100644 --- a/lualib/lua_mime.lua +++ b/lualib/lua_mime.lua @@ -551,8 +551,8 @@ exports.modify_headers = function(task, hdr_alterations) end task:set_milter_reply({ - add_headers = add, - remove_headers = remove + add_headers = hdr_alterations.add, + remove_headers = hdr_alterations.remove }) for hname,flat_rules in pairs(hdr_flattened) do