X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Commands%2FBasic.pm;h=672c7a9958c7a84940ca6bb420fb957260372f02;hb=18f4d0759b08b0192c42d641a28336bc5980dc75;hp=62aa717eeb9327b4188b43f829968991b4f2adb7;hpb=dc782d4d1f50e7869d313f48065db9eb0e0534ae;p=NDIRC.git 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); } } };