diff participant.py @ 135:922858915907

handle xmpp.muc.RemoteServerNotFound Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 16 Jan 2010 12:36:37 +0100
parents 6a6885dbed25
children 7dc6a1764c4f
line wrap: on
line diff
--- a/participant.py
+++ b/participant.py
@@ -99,6 +99,8 @@ class Participant:
 				except xmpp.muc.RoomIsFull:
 					self.bridge.bot.error('[Warning] XMPP MUC of bridge "'+str(self.bridge)+'" is full', send_to_admins=True)
 					self.bridge.say('[Warning] XMPP room is full')
+				except xmpp.muc.RemoteServerNotFound:
+					self.bridge._RemoteServerNotFound_handler()
 				
 				if isinstance(self.xmpp_c, xmpp.client.Client):
 					self.bridge.bot.close_xmpp_connection(self.nickname)