aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-07-11 09:40:55 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-07-11 09:41:24 +0200
commita55a501b359940b60bc2d76931787aa1de41cd6d (patch)
tree7fbeafa8ebbfe4bf448252c23895be6a28680183
parent1285858a9ed4ec712d95210524cceaa12fae9fd5 (diff)
downloadrspamd-a55a501b359940b60bc2d76931787aa1de41cd6d.tar.gz
rspamd-a55a501b359940b60bc2d76931787aa1de41cd6d.zip
[Fix] Milter headers: custom headers: removing headers
-rw-r--r--src/plugins/lua/milter_headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua
index 009af075a..29adf0c4a 100644
--- a/src/plugins/lua/milter_headers.lua
+++ b/src/plugins/lua/milter_headers.lua
@@ -382,7 +382,7 @@ local function milter_headers(task)
add[k] = v
end
for k, v in pairs(to_remove) do
- add[k] = v
+ remove[k] = v
end
for k, v in pairs(common_in) do
if type(v) == 'table' then