# HG changeset patch # User Charly COSTE # Date 1266962080 -3600 # Node ID 66ed2dcdc4d1354b2a1e973d1bf585c173eadb0b # Parent 4a379eb359dd905aa91a18a45f5c910341d0e890 bugfix, «error» → «event.eventtype()», introduced in 41a4f43330ef9e8b7aa94e35bde3162f1da2d4e7 Signed-off-by: Charly COSTE diff --git a/bot.py b/bot.py --- 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