diff bot.py @ 186:70a54da14e63

minor fix in bot.py, removed a buggy test
author Charly COSTE <changaco@changaco.net>
date Sat, 20 Feb 2010 17:05:12 +0100
parents 1e5308a0db55
children 594f570f4657
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -554,8 +554,6 @@ class Bot(threading.Thread):
 				
 				# Leaving events
 				if event.eventtype() == 'quit' or event.eventtype() == 'part' and event.target().lower() == bridge.irc_room:
-					if event.eventtype() == 'quit' and ( bridge.mode != 'normal' or isinstance(from_.irc_connection, irclib.ServerConnection) ):
-						continue
 					if len(event.arguments()) > 0:
 						leave_message = event.arguments()[0]
 					elif event.eventtype() == 'quit':