]> ruin.nu Git - NDIRC.git/blobdiff - Dispatcher.pm
Authentication, autojoin, reconnect and minor fixes for common structure
[NDIRC.git] / Dispatcher.pm
index 8d7ffe9843893ba2768cced2fd149a8becec64c5..a96c32e164843fda69c1998d5b18abad2f89fa4f 100644 (file)
@@ -54,7 +54,7 @@ sub load {
                        warn "couldn't do $file: $!"    if $!;
                        warn "couldn't run $file"       unless $return;
                }else {
-                       print "Loading $class\n";
+                       say "\nLoading $class";
                        $self->load_class($class);
 
                }
@@ -68,7 +68,7 @@ sub load_class {
        for my $c (@subs){
                my $attr = eval "$class->meta->get_method('$c')->attributes";
                if (@$attr){
-                       print "Command: $c";
+                       print "Command: $c ";
                        my %c = (channels => ['all']);
                        my @aliases;
                        for (@{$attr}){