From ff0078e9ec2f41194c4f8141dd8d7e7e7aa89f95 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Thu, 12 Sep 2013 14:48:47 +0200 Subject: [PATCH] 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. --- modules/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 4856ceb..2cc2723 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -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)