diff options
author | doy <doy@tozt.net> | 2009-01-16 01:48:00 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-16 01:48:00 -0500 |
commit | 2679a7f8be9668f1efb1dfbeb5d55325065ec12d (patch) | |
tree | c54a033c3f28241fc82b261f68236297721f2a05 /lib/Bot/Games/Game.pm | |
parent | 4531fcd737acc84ff1c7186519c446d2fa224e49 (diff) | |
download | bot-games-2679a7f8be9668f1efb1dfbeb5d55325065ec12d.tar.gz bot-games-2679a7f8be9668f1efb1dfbeb5d55325065ec12d.zip |
new syntax for declaring extra commands (typically generated methods) - still needs to be implemented
Diffstat (limited to 'lib/Bot/Games/Game.pm')
-rw-r--r-- | lib/Bot/Games/Game.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm index d3f0a0c..ec82bd7 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -22,8 +22,8 @@ has players => ( count => 'num_players', }, command => 1, - commands => ['num_players'], ); +command 'num_players'; has start_time => ( is => 'ro', |