X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fconfiguration.pl;h=f2f296e585ec7288685df9c94e958ddcccfca4cb;hb=8942c27356acc5d5f5a20134461bcf7e6bd6a044;hp=4cd50e2668a371e090cbf961f0cc8e5ad350a25b;hpb=a9b7071fedfdb2150f3ef3d74e0d626b4f2dc0ea;p=spider.git diff --git a/cmd/show/configuration.pl b/cmd/show/configuration.pl index 4cd50e26..f2f296e5 100644 --- a/cmd/show/configuration.pl +++ b/cmd/show/configuration.pl @@ -15,7 +15,7 @@ my @l; my @val; push @out, "Node Callsigns"; -if ($list[0] =~ /^NOD/) { +if ($list[0] && $list[0] =~ /^NOD/) { my @ch = DXProt::get_all_ak1a(); my $dxchan; @@ -53,6 +53,9 @@ if ($list[0] =~ /^NOD/) { @val = values %{$nlist}; my $i = 0; + if (@val == 0 && $node->users) { + push @l, sprintf "(%d users)", $node->users; + } foreach $call (@val) { if ($i >= 5) { push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l;