tidy up Route, add argument to sh/ver
[spider.git] / cmd / stat / route_node.pl
index 05560e70762d5c4e5c230d986122efb658c8139a..0c7f222471f6de74a7b4a116ed10fe4651d4834b 100644 (file)
@@ -9,7 +9,7 @@
 my ($self, $line) = @_;
 my @out;
 my @list = split /\s+/, $line;               # generate a list of callsigns
-@list = ($self->call) if !@list;  # my channel if no callsigns
+@list = ($self->call) unless @list;  # my channel if no callsigns
 if ($self->priv > 5 && @list && uc $list[0] eq 'ALL') {
        push @out, "Node Callsigns in Routing Table";
        @list = sort map {$_->call} Route::Node::get_all();