From b3bbd951718550ad5ff87482d22132ad74e98f80 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 18 Jul 2012 13:19:14 -0500 Subject: [PATCH] allow !fstart from people who have not joined the game --- modules/wolfgame.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 922719c..ce2c2a1 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -304,7 +304,7 @@ def back_from_away(cli, nick, *rest): @cmd("simple", raw_nick = True) @pmcmd("simple", raw_nick = True) def mark_simple_notify(cli, nick, *rest): - """If you don't want to bot to send you role instructions""" + """If you want the bot to NOTICE you for every interaction""" nick, _, __, cloak = parse_nick(nick) @@ -419,7 +419,7 @@ def fleave(cli, nick, chann_, rest): def fstart(cli, nick, chan, rest): var.CAN_START_TIME = datetime.now() cli.msg(botconfig.CHANNEL, "\u0002{0}\u0002 has forced the game to start.".format(nick)) - start(cli, nick, nick, rest) + start(cli, chan, chan, rest) @@ -2200,10 +2200,6 @@ def start(cli, nick, chann_, rest): cli.notice(nick, "You're currently not playing.") return - # fstart condition - if nick == chan: - chan = botconfig.CHANNEL - now = datetime.now() var.GAME_START_TIME = now # Only used for the idler checker dur = int((var.CAN_START_TIME - now).total_seconds())