comparison bridge.py @ 105:d8acff763731

Handle MUC error messages Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sat, 21 Nov 2009 18:23:41 +0100
parents 23416c27b592
children 970a6b4ac6ce
comparison
equal deleted inserted replaced
104:60cc60f0058d 105:d8acff763731
277 277
278 278
279 def restart(self): 279 def restart(self):
280 """Restart the bridge""" 280 """Restart the bridge"""
281 281
282 # Tell admins
283 self.bot.error('Restarting bridge '+str(self), send_to_admins=True)
284
282 # Stop the bridge 285 # Stop the bridge
283 self.stop(message='Restarting bridge') 286 self.stop(message='Restarting bridge')
284 287
285 # Recreate the bridge 288 # Recreate the bridge
286 self.init2() 289 self.init2()