# HG changeset patch # User Charly COSTE # Date 1269301298 -3600 # Node ID f861a7038ad3084673767175f37595681dd3e2a3 # Parent c726e8b28318a9711e8998a716f1c81583fac786 minor fix in Bridge, forgot namespace in bca57d434e135f3a482b11c3ea490266a187612f Signed-off-by: Charly COSTE diff --git a/bridge.py b/bridge.py --- 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')