diff bridge.py @ 111:59401ac0f47a

handle XMPP remote-server-not-found Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 27 Nov 2009 22:47:27 +0100
parents 970a6b4ac6ce
children a817ad05dd1d
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -114,6 +114,8 @@ class bridge:
 	def _xmpp_join_callback(self, errors):
 		"""Called by muc._xmpp_presence_handler"""
 		if len(errors) == 0:
+			if hasattr(self, reconnecting):
+				del self.reconnecting
 			if self.mode == None:
 				return
 			self.bot.error('===> Debug: succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True)