X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=cmd%2Fshow%2Fchannel.pl;fp=cmd%2Fshow%2Fchannel.pl;h=0000000000000000000000000000000000000000;hb=2546ef0cfaaca39e65985e414258071a636979af;hp=147c150af6bd307e71261e4ef547aae2df306f98;hpb=fdc1150da7dbd9c1094d8df7a4744fb917017ed2;p=spider.git diff --git a/cmd/show/channel.pl b/cmd/show/channel.pl deleted file mode 100644 index 147c150a..00000000 --- a/cmd/show/channel.pl +++ /dev/null @@ -1,27 +0,0 @@ -# -# show the channel status -# -# $Id$ -# - -use strict; -my ($self, $line) = @_; -my @list = split /\s+/, $line; # generate a list of callsigns -@list = ($self->call) if !@list || $self->priv < 9; # my channel if no callsigns - -my $call; -my @out; -foreach $call (@list) { - $call = uc $call; - my $ref = DXChannel->get($call); - if ($ref) { - @out = print_all_fields($self, $ref, "Channe Information $call"); - } else { - return (0, "Channel: $call not found") if !$ref; - } - push @out, "" if @list > 1; -} - -return (1, @out); - -