projects
/
selectricity-live
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9770c8d
)
Record a junk IP address for XMLRPC'ers
author
John Dong
<jdong@mit.edu>
Wed, 15 Aug 2007 20:45:51 +0000
(16:45 -0400)
committer
John Dong
<jdong@mit.edu>
Wed, 15 Aug 2007 20:45:51 +0000
(16:45 -0400)
app/models/selectricity_service.rb
patch
|
blob
|
history
diff --git
a/app/models/selectricity_service.rb
b/app/models/selectricity_service.rb
index 86458e09f6d6e84d928e62d5c9f2bcd5a2fbc160..ac2ef205261198986e1add69fe7e3178828bad85 100644
(file)
--- 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]
Benjamin Mako Hill
||
Want to submit a patch?