diff irclib.py @ 67:2e3561313b0f

Don't ever do copy/paste ... Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 30 Aug 2009 18:58:33 +0200
parents 75604669fcd9
children 7aa1f59800b0
line wrap: on
line diff
--- a/irclib.py
+++ b/irclib.py
@@ -195,7 +195,7 @@ class IRC:
                         try:
                             c.process_data()
                         except:
-                            self.error('[Error] Unkonwn exception on IRC thread:')
+                            self.bot.error('[Error] Unkonwn exception on IRC thread:')
                             traceback.print_exc()
                     c.lock.release()