changeset 156:3f299ad4d452

oops, fix for the halt command Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 19 Jan 2010 07:42:49 +0100
parents 63db565438bd
children ce0eb3e969a7
files bot.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -857,5 +857,5 @@ class Bot(threading.Thread):
 	
 	def __del__(self):
 		for bridge in self.bridges:
-			self.removeBridge(bridge, message=message)
+			self.removeBridge(bridge, message='Stopping bot')
 		self.halt = True