From 988e93a6f16a42b10448f221cd969733db4c18f2 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Wed, 20 Apr 2011 21:27:46 -0600 Subject: [PATCH] Lets try this... --- modules/Werewolf.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Werewolf.pm b/modules/Werewolf.pm index 538a7ed..574ca7b 100644 --- a/modules/Werewolf.pm +++ b/modules/Werewolf.pm @@ -1588,8 +1588,8 @@ sub on_uprivmsg { while ((my $plyr, my $flags) = each %PLAYERS) { if ($plyr ne lc $src->{nick} and $flags =~ m/w/xsm or $flags =~ m/t/xsm) { # Also, lets try to ignore simulations. - if (uc(join(q{ }, @msg)) =~ m/^WOLF KILL/xsmi and - $COMMANDS{kill} !~ m/^WOLF KILL/xsmi) { return 1 } + if (uc(join(q{ }, @msg)) =~ m/^WOLF\sKILL/xsmi and + $COMMANDS{kill} !~ m/^WOLF\sKILL/xsmi) { return 1 } # All good. privmsg($src->{svr}, $NICKS{$plyr}, "\2$src->{nick}\2 says: ".join(q{ }, @msg));