Commits

Anonymous committed 76e9bb4

vote permissions fix

  • Participants
  • Parent commits 0e05939

Comments (0)

Files changed (1)

newsmeme/views/comment.py

 def _vote(comment_id, score):
 
     comment = Comment.query.get_or_404(comment_id)
-    comment.permissions.test(403)
+    comment.permissions.vote.test(403)
     
     comment.score += score
     comment.author.karma += score