mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Change from an old-school typecheck to a new-school one.
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user