tidy up Route, add argument to sh/ver
[spider.git] / cmd / stat / route_node.pl
index c546e60167112ba666371d1770bd25fb2479b492..0c7f222471f6de74a7b4a116ed10fe4651d4834b 100644 (file)
@@ -3,13 +3,13 @@
 #
 # Copyright (c) 2001 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 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();