Mercurial > xib
diff bridge.py @ 182:60ee2b914616
minor fix in bridge.py, importance was printed twice
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Fri, 19 Feb 2010 14:14:51 +0100 |
parents | 102f895347ff |
children | 594f570f4657 |
line wrap: on
line diff
--- 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: