Fix flastgame (blame @Vgr255)

This commit is contained in:
nyuszika7h 2015-03-21 12:49:18 +01:00
parent b73f9350db
commit d7ba07d7bf

View File

@ -6916,9 +6916,9 @@ def funghost(cli, nick, chan, rest):
cli.mode(botconfig.CHANNEL, "-v", nick) cli.mode(botconfig.CHANNEL, "-v", nick)
@cmd("flastgame", admin_only=True, raw_nick=True, pm=True) @cmd("flastgame", admin_only=True, raw_nick=True, pm=True)
def flastgame(cli, nick, chan, rest): def flastgame(cli, rawnick, chan, rest):
"""Disables starting or joining a game, and optionally schedules a command to run after the current game ends.""" """Disables starting or joining a game, and optionally schedules a command to run after the current game ends."""
nick, _, __, cloak = parse_nick(nick) nick, _, __, cloak = parse_nick(rawnick)
chan = botconfig.CHANNEL chan = botconfig.CHANNEL
if var.PHASE != "join": if var.PHASE != "join":