From: John Dong Date: Wed, 15 Aug 2007 20:45:51 +0000 (-0400) Subject: Record a junk IP address for XMLRPC'ers X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/7f2bdc00ac867092eebed2b64596efeaacca0d87 Record a junk IP address for XMLRPC'ers --- diff --git a/app/models/selectricity_service.rb b/app/models/selectricity_service.rb index 86458e0..ac2ef20 100644 --- a/app/models/selectricity_service.rb +++ b/app/models/selectricity_service.rb @@ -7,6 +7,7 @@ class SelectricityService < ActionWebService::Base if election voter = QuickVoter.new voter.election = election + voter.ipaddress = "0.0.0.0" voter.session_id = "XMLRPC:#{voter_id}" voter.vote=Vote.new voter.vote.votes=vote_list[0]