mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix comparison for overwrites when checking if a channel is synced
This commit is contained in:
1 parent
b8c4ce6b86
commit
e9a4429c50
1 file changed
+1
-1
+1
-1
@@ -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`.
|
||||
|
||||
Reference in new issue
Block a user