# HG changeset patch
# User Charly COSTE <changaco@changaco.net>
# Date 1266681912 -3600
# Node ID 70a54da14e6356448f246c76ef642e8abcc5cde0
# Parent  6173873c6b0d273f251361fd3906e3a458c9c7c2
minor fix in bot.py, removed a buggy test

diff --git a/bot.py b/bot.py
--- 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':