comparison bridge.py @ 206:ba5ecd71065f

bugfix, we don't delete Bridge.reconnecting since 3518e463b82185bde91a61a810d38dbf58e55147 Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 27 Feb 2010 12:55:28 +0100
parents 85a8b457c4b4
children fbe40b397f67
comparison
equal deleted inserted replaced
205:85a8b457c4b4 206:ba5ecd71065f
107 107
108 108
109 def _xmpp_join_callback(self, errors): 109 def _xmpp_join_callback(self, errors):
110 """Called by muc._xmpp_presence_handler""" 110 """Called by muc._xmpp_presence_handler"""
111 if len(errors) == 0: 111 if len(errors) == 0:
112 if hasattr(self, 'reconnecting'): 112 self.reconnecting = False
113 del self.reconnecting
114 if self.mode == None: 113 if self.mode == None:
115 return 114 return
116 self.bot.error(3, 'succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True) 115 self.bot.error(3, 'succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True)
117 self.say(say_levels.notice, 'bridge "'+str(self)+'" is running in '+self.mode+' mode', on_irc=False) 116 self.say(say_levels.notice, 'bridge "'+str(self)+'" is running in '+self.mode+' mode', on_irc=False)
118 else: 117 else: