# HG changeset patch # User Charly COSTE # Date 1266585291 -3600 # Node ID 60ee2b91461660b9e3ce6c2e44943a715f8658e0 # Parent 803e00d72cb7944108a04c6fb1855aca59ca2b10 minor fix in bridge.py, importance was printed twice Signed-off-by: Charly COSTE diff --git a/bridge.py b/bridge.py --- a/bridge.py +++ b/bridge.py @@ -353,9 +353,9 @@ class Bridge: def say(self, importance, message, on_irc=True, on_xmpp=True, log=False, send_to_admins=False): """Make the bot say something.""" - message = self.bot.format_message(importance, message) if log or send_to_admins: self.bot.error(importance, message+' ('+str(self)+')', send_to_admins=send_to_admins) + message = self.bot.format_message(importance, message) if importance < self.say_level: return if on_xmpp == True: