From 59c9d5df14f7fa32624b71abd1b3cbd0413e2d06 Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Thu, 4 Sep 2014 00:57:45 +0200 Subject: [PATCH] Don't reveal traitor when they're !fquit This is consistent with them otherwise leaving the game by abnormal means (idling out, parting, quitting, getting kicked). --- modules/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 67d8015..f3b04da 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -572,12 +572,12 @@ def fleave(cli, nick, chann_, rest): cli.msg(chan, ("\u0002{0}\u0002 is forcing"+ " \u0002{1}\u0002 to leave.").format(nick, a)) if var.ROLE_REVEAL: - cli.msg(chan, "Say goodbye to the \02{0}\02.".format(var.get_role(a))) + cli.msg(chan, "Say goodbye to the \02{0}\02.".format(var.get_reveal_role(a))) if var.PHASE == "join": cli.msg(chan, ("New player count: \u0002{0}\u0002").format(len(var.list_players()) - 1)) if var.PHASE in ("day", "night"): var.LOGGER.logMessage("{0} is forcing {1} to leave.".format(nick, a)) - var.LOGGER.logMessage("Say goodbye to the {0}".format(var.get_role(a))) + var.LOGGER.logMessage("Say goodbye to the {0}".format(var.get_reveal_role(a))) del_player(cli, a, death_triggers = False)