# HG changeset patch
# User Charly COSTE <changaco@changaco.net>
# Date 1266582782 -3600
# Node ID 803e00d72cb7944108a04c6fb1855aca59ca2b10
# Parent  102f895347ff05bd41f4e6893be3188b63a66dc3
minor fix in bot.py, a line I forgot to change in the previous patch

Signed-off-by: Charly COSTE <changaco@changaco.net>

diff --git a/bot.py b/bot.py
--- a/bot.py
+++ b/bot.py
@@ -673,7 +673,7 @@ class Bot(threading.Thread):
 			self.error(say_levels.debug, 'The following IRC event was not handled:\n'+event_str+'\n', send_to_admins=True)
 		else:
 			self.error(1, 'event not handled', debug=True)
-			self._send_message_to_admins('[Debug] The following IRC event was not handled:\n'+event_str)
+			self._send_message_to_admins(say_levels.debug, 'The following IRC event was not handled:\n'+event_str)
 	
 	
 	def _send_message_to_admins(self, importance, message):