]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Silence warning
authorAndrew Lewis <nerf@judo.za.org>
Fri, 21 Apr 2017 15:10:31 +0000 (17:10 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 21 Apr 2017 15:10:31 +0000 (17:10 +0200)
src/plugins/lua/hfilter.lua

index 54855ec8ad39b2efe5d0afcbb3d48a5ff45f59f0..0e06f683c9ae4e7659346610553f56382e2722c1 100644 (file)
@@ -417,7 +417,7 @@ local function hfilter(task)
         -- Regexp check HELO (checks_hello_bareip)
         local find_bareip = false
         if not find_badip then
-          local values = checks_hello_bareip_map:get_key(helo)
+          values = checks_hello_bareip_map:get_key(helo)
           if values then
             task:insert_result('HFILTER_HELO_BAREIP', 1.0, helo, values)
             find_bareip = true