commit 432b714: [Minor] DMARC: Fix table nesting

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Apr 2 12:49:06 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-04-02 13:48:15 +0100
URL: https://github.com/rspamd/rspamd/commit/432b714a952fea7f60fc1218960172b95169257f (HEAD -> master)

[Minor] DMARC: Fix table nesting

---
 src/plugins/lua/dmarc.lua | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index 8ecf51ec7..3936f840d 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -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


More information about the Commits mailing list