From 6c24fd9c5a073d9061abafcbfb39ad7c7d897602 Mon Sep 17 00:00:00 2001 From: AL Date: Wed, 16 Nov 2016 20:51:24 +0300 Subject: [PATCH] Fix local variable definition --- src/plugins/lua/hfilter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua index 24485a9dc..0bcff192d 100644 --- a/src/plugins/lua/hfilter.lua +++ b/src/plugins/lua/hfilter.lua @@ -257,7 +257,7 @@ local function hfilter(task) end local hc = nil if html_text_part then - local hc = html_text_part:get_html() + hc = html_text_part:get_html() if hc then local url_len = 0 hc:foreach_tag('a', function(_, len) -- 2.39.5