Mercurial > xib
diff bot.py @ 2:f2d0a8b448db
Fixed interpretation of IRC "namreply"
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 16 Aug 2009 16:20:46 +0200 |
parents | 4c842d23d4ce |
children | 3f651f4fdb4f |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -246,7 +246,7 @@ class bot(Thread): self.error('connection.nick_callback='+str(connection.nick_callback), debug=True) return elif event.eventtype() == 'namreply': - for nickname in re.split(' [@]?', event.arguments()[2].strip()): + for nickname in re.split(' [@\+]?', event.arguments()[2].strip()): try: connection.bridge.addParticipant('irc', nickname) except: