From f57b054db103c5274efa8c23c8f7e75d8edb8282 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 18 May 2013 01:43:36 -0400 Subject: [PATCH] don't be an idiot --- modules/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 1c3d1a5..4aa04c9 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1079,7 +1079,7 @@ def goat(cli, nick, chan, rest): if var.PHASE != "day": cli.notice(nick, "You can only do that in the day.") return - if var.GOATED and nick != var.ROLES["goat herder"]: + if var.GOATED and nick in var.ROLES["goat herder"]: cli.notice(nick, "You can only do that once per day.") return ul = list(var.USERS.keys()) @@ -2398,7 +2398,7 @@ def start(cli, nick, chann_, rest): var.GUNNERS[gnr] = math.ceil(var.SHOTS_MULTIPLIER * len(pl)) del var.ROLES["gunner"] - var.ROLES["goat herder"] = None + var.ROLES["goat herder"] = [] if var.GOAT_HERDER: var.ROLES["goat herder"] = [ random.choice(pl) ]