Skip to content

Commit

Permalink
Bold attacker name in alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
ichthyos committed Jan 10, 2013
1 parent c3fbd5b commit 3451cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mail.py
Expand Up @@ -68,7 +68,7 @@ def send_message(users, portal, url, attacker):
if emails:
msg = 'Alert! *%s* (%s) is under attack%s! %s' % (
portal.title.strip(), portal.address,
(' by ' + attacker) if attacker else '', url)
(' by *' + attacker + '*') if attacker else '', url)
xmpp.send_message(emails, msg)


Expand Down

0 comments on commit 3451cef

Please sign in to comment.