mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Fix comparison for overwrites when checking if a channel is synced
This commit is contained in:
parent
7acec502a6
commit
a1a4a4fd7f
@ -440,7 +440,7 @@ class GuildChannel:
|
||||
.. versionadded:: 1.3
|
||||
"""
|
||||
category = self.guild.get_channel(self.category_id)
|
||||
return bool(category and category._overwrites == self._overwrites)
|
||||
return bool(category and category.overwrites == self.overwrites)
|
||||
|
||||
def permissions_for(self, member):
|
||||
"""Handles permission resolution for the current :class:`~discord.Member`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user