mirror of
https://github.com/nikdoof/mumblepy.git
synced 2025-12-18 12:19:25 +00:00
Fix parent channel lookup for the Root channel.
This commit is contained in:
@@ -12,7 +12,7 @@ class Channel(object):
|
||||
|
||||
@property
|
||||
def parent(self):
|
||||
if self.__channel.parent != 0:
|
||||
if self.__channel.parent != -1:
|
||||
return self.__server.get_channel(self.__channel.parent)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user