Commit 479b6fb8 authored by Cool Fire's avatar Cool Fire

Ruby doesn't like bracketless short form in combined if statements

parent 08c0c117
......@@ -37,7 +37,7 @@ fh.each_line do |line|
ip = IPAddr.new ip
# Make sure we don't report ourself
if( home_net_4.include? ip || home_net_6.include? ip )
if( home_net_4.include?( ip ) || home_net_6.include?( ip ) )
next
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment