From 868f0c827a3f88d6280168ff63487babda5d8b01 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 31 Oct 2009 15:26:42 -0500 Subject: wrong variable name --- lib/Bot/Games/Game/Xghost.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bot/Games/Game/Xghost.pm b/lib/Bot/Games/Game/Xghost.pm index 516fff6..6973ab4 100644 --- a/lib/Bot/Games/Game/Xghost.pm +++ b/lib/Bot/Games/Game/Xghost.pm @@ -17,7 +17,7 @@ command valid_move => sub { command valid_word_from_state => sub { my $self = shift; my ($word) = @_; - return is_substring($self->state, uc($move)); + return is_substring($self->state, uc($word)); }, formatter => 'Bool'; __PACKAGE__->meta->make_immutable; -- cgit v1.2.3-54-g00ecf