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

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