Mercurial > xib
changeset 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 | e64b574afa8f |
children | 38dd27098fef |
files | participant.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)