Skip to content

Commit

Permalink
Support chinese comma
Browse files Browse the repository at this point in the history
  • Loading branch information
sailxjx committed Mar 15, 2016
1 parent b363098 commit fe99202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vote.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class VoteSession
user = message.creator

votes = voteBody
.split ','
.split /,|/
.map (vote) -> vote.trim()
.filter (vote) -> vote.length

Expand Down

0 comments on commit fe99202

Please sign in to comment.