]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove one more global 1109/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 7 Nov 2016 14:05:16 +0000 (16:05 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 7 Nov 2016 14:06:24 +0000 (16:06 +0200)
src/plugins/lua/maillist.lua

index 1e4c104ded3d3498668dfa4f74aa0bab28ffda9f..eb67a4f12eb105851bee268b9ffffb0d814e67d8 100644 (file)
@@ -168,7 +168,7 @@ end
 
 -- RFC 2369 headers
 local function check_rfc2369(task)
-  header = task:get_header('List-Unsubscribe')
+  local header = task:get_header('List-Unsubscribe')
   if not header or not string.find(header, '<.+>') then
     return false
   end