From 9b9f35487bdc85cfd4dccba132a71231e2eef267 Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Thu, 4 Sep 2014 01:00:58 +0200 Subject: [PATCH] Put !fquit message on a single line --- modules/wolfgame.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index f3b04da..1be365e 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -569,15 +569,17 @@ def fleave(cli, nick, chann_, rest): else: cli.msg(chan, nick+": That person is not playing.") return - cli.msg(chan, ("\u0002{0}\u0002 is forcing"+ - " \u0002{1}\u0002 to leave.").format(nick, a)) + + message = "\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_reveal_role(a))) + message += " 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)) + message += " 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_reveal_role(a))) + cli.msg(chan, message) + del_player(cli, a, death_triggers = False)