diff options
| author | Rapptz <[email protected]> | 2017-01-03 20:17:41 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-03 20:17:59 -0500 |
| commit | d086b5421dbba32e6117586218786b1a03548670 (patch) | |
| tree | ddd87d520de1a55e2edd147017bf947c2df4bfd9 /discord/abc.py | |
| parent | Fix bug that made member roles go missing. (diff) | |
| download | discord.py-d086b5421dbba32e6117586218786b1a03548670.tar.xz discord.py-d086b5421dbba32e6117586218786b1a03548670.zip | |
Fix NameError when dealing with permission resolution.
Diffstat (limited to 'discord/abc.py')
| -rw-r--r-- | discord/abc.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/discord/abc.py b/discord/abc.py index 89229279..7814772a 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -346,11 +346,6 @@ class GuildChannel: denied = Permissions.all_channel() base.value &= ~denied.value - # text channels do not have voice related permissions - if isinstance(self, TextChannel): - denied = Permissions.voice() - base.value &= ~denied.value - return base @asyncio.coroutine |