Allow !v as a shorthand for !votes in join phase too

This commit is contained in:
nyuszika7h 2015-03-22 14:21:45 +01:00
parent eb724bb3fc
commit 58eb321d3e

View File

@ -7104,9 +7104,10 @@ game.__doc__ = game_help
@cmd("vote", "v", pm=True)
def vote(cli, nick, chan, rest):
if rest:
if var.PHASE == "join" and chan != nick:
return game(cli, nick, chan, rest)
elif rest:
else:
return lynch(cli, nick, chan, rest)
else:
return show_votes(cli, nick, chan, rest)