Mercurial > xib
diff 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 |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -666,7 +666,7 @@ class Bot(threading.Thread): return elif event.eventtype() == 'join': bridge = self.get_bridge(irc_room=event.target().lower(), irc_server=connection.server) - bridge.add_participant('irc', nickname, irc_id=event.source()) + bridge.add_participant('irc', nickname) return