refactor Voter

This commit is contained in:
2019-08-30 14:01:53 +02:00
parent 16b71fb1e6
commit bc75f5d9e2
3 changed files with 15 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ class CommentVoter: Voter {
return Vote.DENIED
}
if (action is Action) {
return Vote.DENIED
}
return Vote.ABSTAIN
}
}