]> source.dussan.org Git - rspamd.git/commitdiff
Fix local variable definition 1144/head
authorAL <AlexeySa@users.noreply.github.com>
Wed, 16 Nov 2016 17:51:24 +0000 (20:51 +0300)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2016 17:51:24 +0000 (20:51 +0300)
src/plugins/lua/hfilter.lua

index 24485a9dc6d88a549296ff6f9106f0a7eec24fae..0bcff192d58ca637ed9172f95e5e687b904659b0 100644 (file)
@@ -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)