1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2025-04-12 10:57:51 +02:00

Change from an old-school typecheck to a new-school one.

This commit is contained in:
Jeremy Fincher 2004-12-10 08:09:01 +00:00
parent 4d35de48c2
commit 400c9aa7a3

@ -591,7 +591,7 @@ class IrcObjectProxy(RichReplyMethods):
def evalArgs(self):
while self.counter < len(self.args):
if type(self.args[self.counter]) == str:
if isinstance(self.args[self.counter], basestring):
self.counter += 1
else:
self.__class__(self, self.msg,