X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/f95bdca9d25333308ef2f0c80eb2011f42d4a5eb..ed271a9bc9a0ec6928e7276d645541db6e5cb7c6:/app/views/quickvote/list_voters.rhtml?ds=inline diff --git a/app/views/quickvote/list_voters.rhtml b/app/views/quickvote/list_voters.rhtml index 4d8e538..cdfc049 100644 --- a/app/views/quickvote/list_voters.rhtml +++ b/app/views/quickvote/list_voters.rhtml @@ -38,7 +38,7 @@ end %> - <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host[-30..-1])%> + <%=h((w.host == nil or w.host.empty?) ? voter.ipaddress : w.host.reverse.slice(0,30).reverse)%>