Mercurial > xib
changeset 151:a04840ad92b7
oops, forgot to modify Bot.new_bridge() in the previous commit
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 17 Jan 2010 21:18:35 +0100 |
parents | e0eea72ea493 |
children | 17305e57f71d |
files | bot.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -703,9 +703,9 @@ class Bot(threading.Thread): pass - def new_bridge(self, xmpp_room, irc_room, irc_server, mode, say_level, irc_port=6667): + def new_bridge(self, xmpp_room, irc_room, irc_server, mode, say_level, irc_port=6667, irc_connection_interval=1): """Create a bridge between xmpp_room and irc_room at irc_server.""" - b = Bridge(self, xmpp_room, irc_room, irc_server, mode, say_level, irc_port=irc_port) + b = Bridge(self, xmpp_room, irc_room, irc_server, mode, say_level, irc_port=irc_port, irc_connection_interval=irc_connection_interval) self.bridges.append(b) return b