Skip to content

Commit

Permalink
Do not allow that which has been denied
Browse files Browse the repository at this point in the history
  • Loading branch information
BartArys committed Jul 6, 2020
1 parent 34cb97e commit 8478199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
* Added `MessageBehavior#publish` to publish a message in an announcement channel.
* Added `NewsChannelBehavior#follow` to follow an announcement channel in another text channel.

## Fixes

* Fixed `GuildChannel#getEffectivePermissions` not correctly denying permissions denied for the user specifically.

# 0.5.4

## Additions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ interface GuildChannel : Channel, GuildChannelBehavior {
}
memberOverwrite?.let {
+it.allowed
+it.denied
-it.denied
}
}

Expand Down

0 comments on commit 8478199

Please sign in to comment.