diff options
-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; |