From: Andrew Lewis Date: Mon, 7 Nov 2016 14:05:16 +0000 (+0200) Subject: [Minor] Remove one more global X-Git-Tag: 1.4.0~101^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1109%2Fhead;p=rspamd.git [Minor] Remove one more global --- 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