]> ruin.nu Git - NDIRC.git/commitdiff
Help texts are only a single string now
authorMichael Andreen <harv@ruin.nu>
Sun, 27 Mar 2011 14:50:28 +0000 (16:50 +0200)
committerMichael Andreen <harv@ruin.nu>
Sun, 27 Mar 2011 14:50:28 +0000 (16:50 +0200)
Commands/Basic.pm

index 62aa717eeb9327b4188b43f829968991b4f2adb7..672c7a9958c7a84940ca6bb420fb957260372f02 100644 (file)
@@ -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);
                }
        }
 };