summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game/Xghost.pm
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-01-15 01:09:43 -0500
committerdoy <doy@tozt.net>2009-01-15 01:09:43 -0500
commit91161b518ac8858899717a785cb3443b695f8a5f (patch)
tree24a1d004e11a41ba879800349b4c0e413d007ab1 /lib/Bot/Games/Game/Xghost.pm
parent16612c204ffde260a58ef51085fc1343505aa246 (diff)
downloadbot-games-91161b518ac8858899717a785cb3443b695f8a5f.tar.gz
bot-games-91161b518ac8858899717a785cb3443b695f8a5f.zip
syntax fixes
Diffstat (limited to 'lib/Bot/Games/Game/Xghost.pm')
-rw-r--r--lib/Bot/Games/Game/Xghost.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game/Xghost.pm b/lib/Bot/Games/Game/Xghost.pm
index 8f9092d..0c44cff 100644
--- a/lib/Bot/Games/Game/Xghost.pm
+++ b/lib/Bot/Games/Game/Xghost.pm
@@ -8,7 +8,7 @@ has '+help' => (
default => "xghost help",
);
-command valid_move => {
+command valid_move => sub {
my $self = shift;
my ($move) = @_;
return is_substring($self->state, uc($move))