changeset 181:803e00d72cb7

minor fix in bot.py, a line I forgot to change in the previous patch Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 19 Feb 2010 13:33:02 +0100
parents 102f895347ff
children 60ee2b914616
files bot.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):