From d086b5421dbba32e6117586218786b1a03548670 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 3 Jan 2017 20:17:41 -0500 Subject: Fix NameError when dealing with permission resolution. --- discord/abc.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'discord/abc.py') 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 -- cgit v1.2.3