Browse Source

Merge pull request #530 from moisseev/patch-1

Unbreak bad_hosts check
tags/1.2.0
Vsevolod Stakhov 8 years ago
parent
commit
4ba63cb24a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/plugins/lua/once_received.lua

+ 2
- 1
src/plugins/lua/once_received.lua View File

@@ -79,8 +79,9 @@ local function check_quantity_received (task)
return
end

local hn = nil
if r['real_hostname'] then
local hn = string.lower(r['real_hostname'])
hn = string.lower(r['real_hostname'])
-- Check for good hostname
if hn and good_hosts then
for _,gh in ipairs(good_hosts) do

Loading…
Cancel
Save