changeset 198:66ed2dcdc4d1

bugfix, «error» → «event.eventtype()», introduced in 41a4f43330ef9e8b7aa94e35bde3162f1da2d4e7 Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 23 Feb 2010 22:54:40 +0100
parents 4a379eb359dd
children dcabe54deeba
files bot.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -638,7 +638,7 @@ class Bot(threading.Thread):
 			else:
 				p = bridge.getParticipant(connection.get_nickname())
 				p._close_irc_connection('')
-				p.irc_connection = error
+				p.irc_connection = event.eventtype()
 			return