diff options
-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; |