diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-17 14:35:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-17 14:35:29 +0100 |
commit | bd4a2300c2190ffb5984d4d603788c84bdad3b18 (patch) | |
tree | 766301b4b5aed1fc1ccbeb84a31e553c6092a28f /src/plugins | |
parent | 4312e8bb27a135d1ba9f2c9f82b0b930015b6c3b (diff) | |
download | rspamd-bd4a2300c2190ffb5984d4d603788c84bdad3b18.tar.gz rspamd-bd4a2300c2190ffb5984d4d603788c84bdad3b18.zip |
[Minor] Fix minor style issue
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/milter_headers.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua index 3e7bb60e2..c0e75289e 100644 --- a/src/plugins/lua/milter_headers.lua +++ b/src/plugins/lua/milter_headers.lua @@ -112,7 +112,7 @@ local function milter_headers(task) local function skip_wanted(hdr) - local function match_extended_headers_rcpt(rcpts) + local function match_extended_headers_rcpt() local rcpts = task:get_recipients('smtp') if not rcpts then return false end local found @@ -132,7 +132,9 @@ local function milter_headers(task) return found end - if settings.extended_headers_rcpt and match_extended_headers_rcpt() then return false end + if settings.extended_headers_rcpt and match_extended_headers_rcpt() then + return false + end if settings.skip_local and not settings.local_headers[hdr] then local ip = task:get_ip() |