From 18f4d0759b08b0192c42d641a28336bc5980dc75 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sun, 27 Mar 2011 16:50:28 +0200 Subject: [PATCH] Help texts are only a single string now --- Commands/Basic.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } } }; -- 2.39.2