From 2ac60b47fbb49ffe15de87f7187e8e1ddef76715 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 9 Feb 2014 12:24:57 +0100 Subject: [PATCH] Fix previous commit. --- modules/wolfgame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 7b6a1db..4337d35 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1889,9 +1889,6 @@ def investigate(cli, nick, rest): pm(cli, nick, "You may only investigate one person per round.") return victim = re.split(" +", rest)[0].strip().lower() - if victim == nick: - pm(cli, nick, "Investingating yourself would be a waste.") - return if not victim: pm(cli, nick, "Not enough parameters") return @@ -1910,6 +1907,9 @@ def investigate(cli, nick, rest): pm(cli, nick,"\u0002{0}\u0002 is currently not playing.".format(victim)) return victim = pl[pll.index(target)] + if victim == nick: + pm(cli, nick, "Investigating yourself would be a waste.") + return var.INVESTIGATED.append(nick) pm(cli, nick, ("The results of your investigation have returned. \u0002{0}\u0002"+