]> ruin.nu Git - NDIRC.git/commitdiff
Removed debug output
authorMichael Andreen <harv@ruin.nu>
Sat, 30 May 2009 19:25:36 +0000 (21:25 +0200)
committerMichael Andreen <harv@ruin.nu>
Sat, 30 May 2009 19:25:36 +0000 (21:25 +0200)
Commands/Channel.pm

index edd1146f446313f9f9ec617cf499d23c6186184b..c30c632650d0b17ffd43a430f66f1d7bc002428e 100644 (file)
@@ -71,10 +71,8 @@ sub invite
 
        my @channels;
        if ($channel && $c->check_user_roles('irc_masterinvite')){
-               print "master $channel";
                push @channels,$channel;
        }else{
-               print "master $channel";
                my @access = ('auto_invite');
                push @access, 'invite' if $channel;
                my $channels = $c->model->prepare(q{
@@ -92,7 +90,6 @@ WHERE u.hostmask ILIKE $1 AND COALESCE(c.name = $2,TRUE)
                }
        }
        for (@channels){
-               print;
                $c->server->command("invite ". $c->nick ." $_");
        }
 }