diff options
Diffstat (limited to 'lib/Bot/Games/Game/Superghost.pm')
-rw-r--r-- | lib/Bot/Games/Game/Superghost.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game/Superghost.pm b/lib/Bot/Games/Game/Superghost.pm index f6a4d7b..df297ee 100644 --- a/lib/Bot/Games/Game/Superghost.pm +++ b/lib/Bot/Games/Game/Superghost.pm @@ -7,7 +7,7 @@ has '+help' => ( default => "superghost help", ); -command valid_move => { +command valid_move => sub { my $self = shift; my ($move) = @_; return uc(substr($move, 0, -1)) eq $self->state |