Mercurial > xib
comparison bridge.py @ 38:984e1e5c5e51
Initialize bridge.irc_connections_limit to -1.
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 23 Aug 2009 16:19:05 +0200 |
parents | 4e1f27ea527b |
children | faa468731d8a |
comparison
equal
deleted
inserted
replaced
37:7e500d4064fb | 38:984e1e5c5e51 |
---|---|
64 self.bot.error('[Error] joining XMPP room failed') | 64 self.bot.error('[Error] joining XMPP room failed') |
65 raise | 65 raise |
66 | 66 |
67 # Join IRC room | 67 # Join IRC room |
68 try: | 68 try: |
69 self.irc_connections_limit = -1 | |
69 self.irc_connection = self.bot.irc.server(irc_server, irc_port, self.bot.nickname) | 70 self.irc_connection = self.bot.irc.server(irc_server, irc_port, self.bot.nickname) |
70 self.irc_connection.connect(nick_callback=self._irc_nick_callback) | 71 self.irc_connection.connect(nick_callback=self._irc_nick_callback) |
71 except: | 72 except: |
72 self.bot.error('[Error] joining IRC room failed') | 73 self.bot.error('[Error] joining IRC room failed') |
73 raise | 74 raise |