diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-10-31 15:26:42 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-10-31 15:26:42 -0500 |
commit | 868f0c827a3f88d6280168ff63487babda5d8b01 (patch) | |
tree | 32f500d98c3f43071c7af9e9a1aedbe52020f726 | |
parent | 51885d4d10ea7ee2507ffb7069a2298a7113e658 (diff) | |
download | bot-games-868f0c827a3f88d6280168ff63487babda5d8b01.tar.gz bot-games-868f0c827a3f88d6280168ff63487babda5d8b01.zip |
wrong variable name
-rw-r--r-- | lib/Bot/Games/Game/Xghost.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |