diff options
author | doy <doy@tozt.net> | 2009-01-26 00:37:13 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-26 00:37:13 -0500 |
commit | a840c4ceec045d6ae50cbeed1713db18d7ad7a57 (patch) | |
tree | 752c2f4cec1036ebc3f529554cc122ef816f1268 | |
parent | 4dc64a204b4d26b649616b308056daabbf2f0cc3 (diff) | |
download | bot-games-a840c4ceec045d6ae50cbeed1713db18d7ad7a57.tar.gz bot-games-a840c4ceec045d6ae50cbeed1713db18d7ad7a57.zip |
actually, this isn't really necessary
-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 9e79219..bba2b16 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -60,7 +60,7 @@ command cmdlist => sub { if $method->meta->can('does_role') && $method->meta->does_role('Bot::Games::Meta::Role::Command'); } - return sort map { '-' . $_ } @commands; + return join ' ', sort map { '-' . $_ } @commands; }, needs_init => 0; # this happens in Bot::Games, since we want to add the say method from there |