Skip to content

Commit

Permalink
[Minor] Do something when no successful replies are detected
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Nov 10, 2023
1 parent 01cab36 commit 3adc6d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lualib/rspamadm/fuzzy_ping.lua
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ local function print_results(results)
else
err_servers[res.server] = 1
end
-- For the case if no successful replies are detected
if not servers[res.server] then
servers[res.server] = {}
end
end
end

Expand Down

0 comments on commit 3adc6d6

Please sign in to comment.