Mercurial > xib
diff bot.py @ 63:71508f22edb4
Fixed unjustified switching to limited mode
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sat, 29 Aug 2009 21:57:49 +0200 |
parents | 92341dbfb8b7 |
children | 8fc496eaa17b |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -446,6 +446,8 @@ class bot(Thread): if event.eventtype() == 'disconnect': # TODO: lock self.bridges for thread safety for bridge in self.bridges: + if connection.server != bridge.irc_server: + continue try: bridge.getParticipant(connection.get_nickname()) if bridge.mode == 'normal':