]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] DMARC: Fix table nesting
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Apr 2021 12:48:15 +0000 (13:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Apr 2021 12:48:15 +0000 (13:48 +0100)
src/plugins/lua/dmarc.lua

index 8ecf51ec776f00a44aba4ce406fdf5ff92afc5a8..3936f840d2dbdb5a469333963c488e47e12349ab 100644 (file)
@@ -1577,9 +1577,7 @@ if opts.munging then
     local add_hdrs = {
       ['From'] = { order = 1, value = hdr_encoded },
     }
-    local remove_hdrs = {
-      {['From'] = 0},
-    }
+    local remove_hdrs = {['From'] = 0}
 
     local nreply = from.addr
     if munging_opts.reply_goes_to_list then