add the ability to limit no of connections
[spider.git] / cmd / stat / userconfig.pl
index fd86f74817b0c4c7e8495b2065b1cc06e93ba362..6d3b389f66252674b592a963e809fab3dd77284d 100644 (file)
@@ -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";
 }