comparison participant.py @ 132:6a6885dbed25

handle more mode changing cases (added bridge.createDuplicatesOn()) Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 15 Jan 2010 17:04:45 +0100
parents efdc038e757a
children 922858915907
comparison
equal deleted inserted replaced
131:46af7f2744a9 132:6a6885dbed25
347 347
348 348
349 def _close_xmpp_connection(self, message): 349 def _close_xmpp_connection(self, message):
350 if isinstance(self.xmpp_c, xmpp.client.Client): 350 if isinstance(self.xmpp_c, xmpp.client.Client):
351 self.muc.leave(auto_decode(message)) 351 self.muc.leave(auto_decode(message))
352 self.xmpp_c = None
352 self.bridge.bot.close_xmpp_connection(self.nickname) 353 self.bridge.bot.close_xmpp_connection(self.nickname)
353 354
354 355
355 def _close_irc_connection(self, message): 356 def _close_irc_connection(self, message):
356 if isinstance(self.irc_connection, ServerConnection): 357 if isinstance(self.irc_connection, ServerConnection):