aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAL <AlexeySa@users.noreply.github.com>2016-11-16 20:51:24 +0300
committerGitHub <noreply@github.com>2016-11-16 20:51:24 +0300
commit6c24fd9c5a073d9061abafcbfb39ad7c7d897602 (patch)
treeffa59af566ef7cd591a2684bac3e66a5880b08d7 /src/plugins
parent1a58c1cee63c107ecfeadc47fe29ae630b2ee78e (diff)
downloadrspamd-6c24fd9c5a073d9061abafcbfb39ad7c7d897602.tar.gz
rspamd-6c24fd9c5a073d9061abafcbfb39ad7c7d897602.zip
Fix local variable definition
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/hfilter.lua2
1 files changed, 1 insertions, 1 deletions
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)