Mercurial > xib
changeset 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 | 6173873c6b0d |
children | 594f570f4657 |
files | bot.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
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':