comparison 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
comparison
equal deleted inserted replaced
253:e64b574afa8f 254:3b930e2fad43
93 self.create_duplicate_on_xmpp() 93 self.create_duplicate_on_xmpp()
94 return 94 return
95 95
96 else: 96 else:
97 self.bridge.say(say_levels.warning, 'The nickname "'+self.nickname+'" is used on both rooms or reserved on the XMPP server', log=True) 97 self.bridge.say(say_levels.warning, 'The nickname "'+self.nickname+'" is used on both rooms or reserved on the XMPP server', log=True)
98 if isinstance(self.muc, xmpp.muc) and self.muc.connected: 98 if isinstance(self.muc, xmpp.muc):
99 self.muc.leave('Changed nickname to "'+self.nickname+'"') 99 self.muc.leave('Changed nickname to "'+self.nickname+'"')
100 except xmpp.muc.RoomIsFull: 100 except xmpp.muc.RoomIsFull:
101 self.bridge.say(say_levels.warning, 'XMPP room is full', log=True) 101 self.bridge.say(say_levels.warning, 'XMPP room is full', log=True)
102 except xmpp.muc.RemoteServerNotFound: 102 except xmpp.muc.RemoteServerNotFound:
103 self.bridge._RemoteServerNotFound_handler() 103 self.bridge._RemoteServerNotFound_handler()