Mercurial > xib
changeset 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 | 803e00d72cb7 |
children | 8f67684fee23 |
files | bridge.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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: