From 3d66bc88e52d0b92625da6b342916d47df471775 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 8 Jun 2005 17:49:54 +0000 Subject: [PATCH] Let's ensure that self.repliedTo is False before calling invalidCommands. --- src/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index f90c5de82..abcd26501 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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