From 6f313217ca83de29ac15f6c8296946b07605d87d Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Mon, 30 Mar 2015 19:29:32 +0200 Subject: [PATCH] Allow !join to vote for a game mode even if already playing --- modules/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 00d5fdd..9a2bff8 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1228,7 +1228,7 @@ def join_player(cli, player, chan, who = None, forced = False): elif player in pl: cli.notice(who, "{0}'re already playing!".format("You" if who == player else "They")) - return + return True elif len(pl) >= var.MAX_PLAYERS: cli.notice(who, "Too many players! Try again next time.") return