changeset 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 c726e8b28318
children 7602a0898d19
files bridge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -382,7 +382,7 @@ class Bridge:
 	def _say_on_irc(self, message):
 		try:
 			self.irc_connection.privmsg(self.irc_room, message)
-		except ServerNotConnectedError:
+		except irclib.ServerNotConnectedError:
 			bridges = self.bot.iter_bridges(irc_server=self.irc_server)
 			self.bot.restart_bridges_delayed(bridges, 0, say_levels.error, 'Lost bot IRC connection', protocol='irc')