]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix minor style issue
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 17 Jun 2017 13:35:29 +0000 (14:35 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 17 Jun 2017 13:35:29 +0000 (14:35 +0100)
src/plugins/lua/milter_headers.lua

index 3e7bb60e2d0370d529b78c007cafc91fbd7df3dd..c0e75289e54b52f93a416486cba90a9c08502217 100644 (file)
@@ -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()