# HG changeset patch # User Charly COSTE # Date 1268312480 -3600 # Node ID 3b930e2fad43b0b2e7652600fefb3cdd932cce56 # Parent e64b574afa8fa6c745167010f1bae4f80431c809 minor fix in Participant Signed-off-by: Charly COSTE diff --git a/participant.py b/participant.py --- a/participant.py +++ b/participant.py @@ -95,7 +95,7 @@ class Participant: else: self.bridge.say(say_levels.warning, 'The nickname "'+self.nickname+'" is used on both rooms or reserved on the XMPP server', log=True) - if isinstance(self.muc, xmpp.muc) and self.muc.connected: + if isinstance(self.muc, xmpp.muc): self.muc.leave('Changed nickname to "'+self.nickname+'"') except xmpp.muc.RoomIsFull: self.bridge.say(say_levels.warning, 'XMPP room is full', log=True)