Fix parent channel lookup for the Root channel.

This commit is contained in:
2013-11-06 23:24:56 +00:00
parent 0d10a77ad2
commit 1bc7fd59c3

View File

@@ -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