Record "XMLRPC Request" in ipadress field of XML RPC created votes.
[selectricity] / app / models / selectricity_service.rb
index ac2ef205261198986e1add69fe7e3178828bad85..add5ab9c2bb08f951ce315c852f6f9ba9bf2a140 100644 (file)
@@ -7,7 +7,7 @@ class SelectricityService < ActionWebService::Base
     if election
       voter = QuickVoter.new
       voter.election = election
-      voter.ipaddress = "0.0.0.0"
+      voter.ipaddress = "XMLRPC Request"
       voter.session_id = "XMLRPC:#{voter_id}"
       voter.vote=Vote.new
       voter.vote.votes=vote_list[0]

Benjamin Mako Hill || Want to submit a patch?