mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
Fixed bug in IrcObjectProxy.getRealIrc: issubclass->isinstance
This commit is contained in:
parent
56a204b453
commit
5fa489e826
@ -260,7 +260,7 @@ class IrcObjectProxy:
|
|||||||
self.__dict__ = {}
|
self.__dict__ = {}
|
||||||
|
|
||||||
def getRealIrc(self):
|
def getRealIrc(self):
|
||||||
if issubclass(self.irc, irclib.Irc):
|
if isinstance(self.irc, irclib.Irc):
|
||||||
return self.irc
|
return self.irc
|
||||||
else:
|
else:
|
||||||
return self.irc.getRealIrc()
|
return self.irc.getRealIrc()
|
||||||
|
Loading…
Reference in New Issue
Block a user