# HG changeset patch # User Charly COSTE # Date 1268043161 -3600 # Node ID ebd67e3e4866719d9dd2ca8347f6f1de4f3923aa # Parent 70938f01be8f5aa8c842a4136b8921bc9b6d5c49 fix for Bridge.remove_participant, bug introduced in d875cbf0a544e6ad0c640f3afedbc2c87fb4db9c Signed-off-by: Charly COSTE diff --git a/bridge.py b/bridge.py --- 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):