diff 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
line wrap: on
line diff
--- a/participant.py
+++ b/participant.py
@@ -349,6 +349,7 @@ class Participant:
 	def _close_xmpp_connection(self, message):
 		if isinstance(self.xmpp_c, xmpp.client.Client):
 			self.muc.leave(auto_decode(message))
+			self.xmpp_c = None
 			self.bridge.bot.close_xmpp_connection(self.nickname)