Bold nick for actions in wolf relay

Without this fix, a wolf team member could '/nick Someone' and leave a
fake detective paper, which is indistinguishable from a real one.
This commit is contained in:
nyuszika7h 2013-09-12 14:48:47 +02:00
parent ed62cbbfc9
commit ff0078e9ec

View File

@ -2052,7 +2052,7 @@ def relay(cli, nick, rest):
rest = rest[7:-1]
mass_privmsg(cli, [guy for guy in badguys
if (guy in var.PLAYERS and
var.PLAYERS[guy]["cloak"] not in var.SIMPLE_NOTIFY)], nick+rest)
var.PLAYERS[guy]["cloak"] not in var.SIMPLE_NOTIFY)], "\02{0}\02{1}".format(nick, rest))
mass_privmsg(cli, [guy for guy in badguys
if (guy in var.PLAYERS and
var.PLAYERS[guy]["cloak"] in var.SIMPLE_NOTIFY)], nick+rest, True)