comparison participant.py @ 275:09a5bde70919 default tip master

minor fix in Participant Signed-off-by: Changaco <changaco ατ changaco δοτ net>
author Changaco <changaco ατ changaco δοτ net>
date Wed, 05 May 2010 23:36:13 +0200
parents d04e40b7be2e
children
comparison
equal deleted inserted replaced
274:fa5375057658 275:09a5bde70919
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()
104 104
105 self._close_xmpp_connection() 105 self._close_xmpp_connection('')
106 106
107 107
108 def create_duplicate_on_irc(self): 108 def create_duplicate_on_irc(self):
109 if isinstance(self.xmpp_c, xmpp.client.Client) or isinstance(self.irc_connection, irclib.ServerConnection): 109 if isinstance(self.xmpp_c, xmpp.client.Client) or isinstance(self.irc_connection, irclib.ServerConnection):
110 return 110 return