aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 73c12e53..a9c7af38 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -418,8 +418,7 @@ class GuildChannel:
# The operation first takes into consideration the denied
# and then the allowed.
- o = self.guild.owner
- if o is not None and member.id == o.id:
+ if self.guild.owner_id == member.id:
return Permissions.all()
default = self.guild.default_role