Mercurial > xib
diff bridge.py @ 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 | 71c23e30cd6c |
children | 430eb5052e4d |
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):