summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-06-01 02:56:04 -0500
committerJesse Luehrs <doy@tozt.net>2009-06-01 02:57:29 -0500
commit8177ff4ccdcc04b636b52aeeb1a0b3d901a60c54 (patch)
treeae5f3203462d41a0fbd4165d9c4777454f8d4c44 /lib/Bot/Games/Game.pm
parentda928b59285b96179db5cecd1325efe3aff1e93b (diff)
downloadbot-games-8177ff4ccdcc04b636b52aeeb1a0b3d901a60c54.tar.gz
bot-games-8177ff4ccdcc04b636b52aeeb1a0b3d901a60c54.zip
use 'Bool' as the formatter rather than manually looking it up
Diffstat (limited to 'lib/Bot/Games/Game.pm')
-rw-r--r--lib/Bot/Games/Game.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index c8641a4..610ee58 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -39,7 +39,7 @@ has players => (
command => 1,
);
command 'num_players';
-command 'has_player', formatter => __PACKAGE__->meta->formatter_for('Bool');
+command 'has_player', formatter => 'Bool';
has start_time => (
is => 'ro',