From a840c4ceec045d6ae50cbeed1713db18d7ad7a57 Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 26 Jan 2009 00:37:13 -0500 Subject: actually, this isn't really necessary --- lib/Bot/Games/Game.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bot/Games/Game.pm') 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 -- cgit v1.2.3-54-g00ecf