add the ability to limit no of connections
[spider.git] / cmd / stat / userconfig.pl
index f4321160574043c7d0d055d7e61ad4d38b75edab..6d3b389f66252674b592a963e809fab3dd77284d 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2001 Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -15,7 +15,7 @@ foreach my $uref (@users) {
        my $ucall = $uref->call;
        next if @list && !grep $ucall =~ m|$_|, @list;
        my $call = $uref->user_call;
-       my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort @{$uref->parent});
+       my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort $uref->parents);
        push @out, "$call->$l";
 }