From ff737609b5127eada233e35e771b8f9e94bef0af Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 23 Dec 2014 17:45:07 -0500 Subject: [PATCH] Fix error when silenced gunner shoots --- modules/wolfgame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 3f26e22..0f0774e 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -241,7 +241,7 @@ def complete_match(string, matches): #wrapper around complete_match() used for roles def get_victim(cli, nick, victim, self_in_list = False): if not victim: - cli.notice(cli, nick, "Not enough parameters") + cli.notice(nick, "Not enough parameters") return pl = [x for x in var.list_players() if x != nick or self_in_list] pll = [x.lower() for x in pl] @@ -3725,7 +3725,7 @@ def shoot(cli, nick, chan, rest): cli.notice(nick, "You don't have any more bullets.") return elif nick in var.SILENCED: - cli.notice(cli, nick, "You have been silenced, and are unable to use any special powers.") + cli.notice(nick, "You have been silenced, and are unable to use any special powers.") return victim = get_victim(cli, nick, re.split(" +",rest)[0]) if not victim: