]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Milter headers: custom headers: removing headers 1746/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 11 Jul 2017 07:40:55 +0000 (09:40 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 11 Jul 2017 09:17:18 +0000 (11:17 +0200)
src/plugins/lua/milter_headers.lua

index dcf8e9ffdf81ca08f88ff6d8a04aa29567fd572c..d5b4c49094fd56d39ca1402bb99bcb6ca52bb265 100644 (file)
@@ -344,7 +344,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