]> projects.mako.cc - selectricity/blobdiff - lib/rubyvote/positional.rb
Fix WHOIS library not to puke on strange IP addresses
[selectricity] / lib / rubyvote / positional.rb
index dc0b63aca3811bdb07e2fdcfb4f4107d5d53b0d3..056194b519dc88f2a79adc3617bf95f250fa3310 100644 (file)
@@ -78,7 +78,7 @@ class BordaResult < ElectionResult
       votes[i] == votes[@ranked_candidates[0]]
     end
     
-    @points = self.election.votes
+    @points = @election.votes
   end
 
 end

Benjamin Mako Hill || Want to submit a patch?