comparison bot.py @ 221:1a82d5d40d90

moved irc_id handling to irclib Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 07 Mar 2010 14:00:21 +0100
parents 5726a0833537
children da8fbaf69242
comparison
equal deleted inserted replaced
220:5726a0833537 221:1a82d5d40d90
664 continue 664 continue
665 bridge.add_participant('irc', nickname) 665 bridge.add_participant('irc', nickname)
666 return 666 return
667 elif event.eventtype() == 'join': 667 elif event.eventtype() == 'join':
668 bridge = self.get_bridge(irc_room=event.target().lower(), irc_server=connection.server) 668 bridge = self.get_bridge(irc_room=event.target().lower(), irc_server=connection.server)
669 bridge.add_participant('irc', nickname, irc_id=event.source()) 669 bridge.add_participant('irc', nickname)
670 return 670 return
671 671
672 672
673 # Mode event 673 # Mode event
674 if event.eventtype() == 'mode': 674 if event.eventtype() == 'mode':