# HG changeset patch # User Charly COSTE # Date 1263759515 -3600 # Node ID a04840ad92b73e0e9eebd7ad4e6b07c43e88b65f # Parent e0eea72ea493f462f341c01932e6503c3e798554 oops, forgot to modify Bot.new_bridge() in the previous commit Signed-off-by: Charly COSTE diff --git a/bot.py b/bot.py --- 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