Allow !join to vote for a game mode even if already playing

This commit is contained in:
nyuszika7h 2015-03-30 19:29:32 +02:00
parent 27fe548c2f
commit 6f313217ca

View File

@ -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