aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/maillist.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-07 16:05:16 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-07 16:06:24 +0200
commiteb5092344780be868a753dedfdc00e296f0262ad (patch)
tree68be68bf70b38e89d70d69a2bd1ef77b957958ce /src/plugins/lua/maillist.lua
parent80c519f0232ef5f292a2a990eb6048d9cc894e0b (diff)
downloadrspamd-eb5092344780be868a753dedfdc00e296f0262ad.tar.gz
rspamd-eb5092344780be868a753dedfdc00e296f0262ad.zip
[Minor] Remove one more global
Diffstat (limited to 'src/plugins/lua/maillist.lua')
-rw-r--r--src/plugins/lua/maillist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua
index 1e4c104de..eb67a4f12 100644
--- a/src/plugins/lua/maillist.lua
+++ b/src/plugins/lua/maillist.lua
@@ -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