comparison bridge.py @ 267:f861a7038ad3

minor fix in Bridge, forgot namespace in bca57d434e135f3a482b11c3ea490266a187612f Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 23 Mar 2010 00:41:38 +0100
parents 48cf498b9620
children 7602a0898d19
comparison
equal deleted inserted replaced
266:c726e8b28318 267:f861a7038ad3
380 380
381 381
382 def _say_on_irc(self, message): 382 def _say_on_irc(self, message):
383 try: 383 try:
384 self.irc_connection.privmsg(self.irc_room, message) 384 self.irc_connection.privmsg(self.irc_room, message)
385 except ServerNotConnectedError: 385 except irclib.ServerNotConnectedError:
386 bridges = self.bot.iter_bridges(irc_server=self.irc_server) 386 bridges = self.bot.iter_bridges(irc_server=self.irc_server)
387 self.bot.restart_bridges_delayed(bridges, 0, say_levels.error, 'Lost bot IRC connection', protocol='irc') 387 self.bot.restart_bridges_delayed(bridges, 0, say_levels.error, 'Lost bot IRC connection', protocol='irc')
388 388
389 389
390 def _say_on_xmpp(self, message): 390 def _say_on_xmpp(self, message):