diff 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
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -279,6 +279,9 @@ class bridge:
 	def restart(self):
 		"""Restart the bridge"""
 		
+		# Tell admins
+		self.bot.error('Restarting bridge '+str(self), send_to_admins=True)
+		
 		# Stop the bridge
 		self.stop(message='Restarting bridge')