From 7f2bdc00ac867092eebed2b64596efeaacca0d87 Mon Sep 17 00:00:00 2001 From: John Dong Date: Wed, 15 Aug 2007 16:45:51 -0400 Subject: [PATCH] Record a junk IP address for XMLRPC'ers --- app/models/selectricity_service.rb | 1 + 1 file changed, 1 insertion(+) 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] -- 2.30.2