diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-02 09:38:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-02 09:38:34 +0000 |
commit | 6d1c2713ad56ede02bff68d848859797e06558df (patch) | |
tree | 2c77458153ef0698fd3c9216dfcc522406a79f5e /lualib/lua_mime.lua | |
parent | babfa234168bde1948b5ef4f24bf252d15f5098b (diff) | |
download | rspamd-6d1c2713ad56ede02bff68d848859797e06558df.tar.gz rspamd-6d1c2713ad56ede02bff68d848859797e06558df.zip |
[Minor] Preserve compatibility for empty keys
Diffstat (limited to 'lualib/lua_mime.lua')
-rw-r--r-- | lualib/lua_mime.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |