Mercurial > xib
diff participant.py @ 254:3b930e2fad43
minor fix in Participant
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Thu, 11 Mar 2010 14:01:20 +0100 |
parents | 93990ebdbbaf |
children | 3b318108e9e0 |
line wrap: on
line diff
--- 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)