changeset 240:ebd67e3e4866

fix for Bridge.remove_participant, bug introduced in d875cbf0a544e6ad0c640f3afedbc2c87fb4db9c Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Mon, 08 Mar 2010 11:12:41 +0100
parents 70938f01be8f
children 9c039594435d
files bridge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -317,7 +317,7 @@ class Bridge:
 				if left_protocol == 'irc':
 					was_on_both = False
 				elif left_protocol == 'xmpp':
-					if isinstance(p.muc, xmpp.muc) and not xmpp.muc.connected:
+					if isinstance(p.muc, xmpp.muc) and not p.muc.connected:
 						return
 					# got disconnected somehow
 					if isinstance(p.xmpp_c, xmpp.client.Client):