From: Michael Andreen Date: Sun, 27 Mar 2011 14:50:28 +0000 (+0200) Subject: Help texts are only a single string now X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=commitdiff_plain;h=18f4d0759b08b0192c42d641a28336bc5980dc75 Help texts are only a single string now --- diff --git a/Commands/Basic.pm b/Commands/Basic.pm index 62aa717..672c7a9 100644 --- a/Commands/Basic.pm +++ b/Commands/Basic.pm @@ -38,9 +38,7 @@ command commands => { } $c->reply(join ', ', @commands); }elsif (exists $c->disp->commands->{$command}){ - for (@{$c->disp->commands->{$command}->help}){ - $c->reply($_); - } + $c->reply($c->disp->commands->{$command}->help); } } };