]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Milter headers: custom headers: removing headers
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 07:41:24 +0000 (09:41 +0200)
src/plugins/lua/milter_headers.lua

index 009af075abdce2c3100a15d49ff09b0ab68edc3a..29adf0c4aea0c80e413f0a171cfe683d4629bbdf 100644 (file)
@@ -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