X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/adf9b5ec96187af2108c42791319cbe2a3366506..59f7f3f18cc10105106d3aadfef76f33493a69f7:/app/views/quickvote/list_voters.rhtml diff --git a/app/views/quickvote/list_voters.rhtml b/app/views/quickvote/list_voters.rhtml index be11290..ea276d7 100644 --- a/app/views/quickvote/list_voters.rhtml +++ b/app/views/quickvote/list_voters.rhtml @@ -27,14 +27,10 @@ voter.ipaddress =~ /^172\.[1-3]/ %> <% w=nil - puts "WHOIS #{voter.ipaddress}" if Cache and w=Cache.get("WHOIS:#{voter.ipaddress}") elsif Cache - puts "CREATE" w= Whois::Whois.new(IPAddr.new(voter.ipaddress),true) - puts "SEARCH" w.search_whois - puts "DONE" Cache.set("WHOIS:#{voter.ipaddress}", w) else w= Whois::Whois.new(IPAddr.new(voter.ipaddress),true)