]> projects.mako.cc - selectricity-live/blobdiff - app/models/selectricity_service.rb
Display same in hostname and IP when IP lookup fails
[selectricity-live] / app / models / selectricity_service.rb
index 86458e09f6d6e84d928e62d5c9f2bcd5a2fbc160..add5ab9c2bb08f951ce315c852f6f9ba9bf2a140 100644 (file)
@@ -7,6 +7,7 @@ class SelectricityService < ActionWebService::Base
     if election
       voter = QuickVoter.new
       voter.election = election
+      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?