diff options
author | doy <doy@tozt.net> | 2009-04-26 23:49:23 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 23:49:23 -0500 |
commit | 13c3bb1f47c5b019e853587c7da881026ce22d93 (patch) | |
tree | d10a25b245451e11232bcb7a3e0c76cd53f8f771 /lib | |
parent | 5575d6e66359f5231091a10c9f3169686ec23bd2 (diff) | |
download | bot-games-13c3bb1f47c5b019e853587c7da881026ce22d93.tar.gz bot-games-13c3bb1f47c5b019e853587c7da881026ce22d93.zip |
need to return an arrayref, since the output code still assumes single value returns
Diffstat (limited to 'lib')
-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 8af0baf..705817e 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -76,7 +76,7 @@ command cmdlist => sub { if $method->meta->can('does_role') && $method->meta->does_role('Bot::Games::Trait::Method::Command'); } - return @commands; + return \@commands; }, needs_init => 0, formatter => sub { my $list = shift; |