Let's ensure that self.repliedTo is False before calling invalidCommands.

This commit is contained in:
Jeremy Fincher 2005-06-08 17:49:54 +00:00
parent dff2862bb1
commit 3d66bc88e5
1 changed files with 1 additions and 1 deletions

View File

@ -661,6 +661,7 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
cbs.append(cb)
threaded = threaded or cb.threaded
def callInvalidCommands():
self.repliedTo = False
for cb in cbs:
log.debug('Calling %s.invalidCommand.', cb.name())
try:
@ -673,7 +674,6 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
log.debug('Finished calling %s.invalidCommand.', cb.name())
if self.repliedTo:
log.debug('Done calling invalidCommands: %s.',cb.name())
self.repliedTo = False
return
if threaded:
name = 'Thread #%s (for invalidCommands)' % world.threadsSpawned