1. changed sh/c so that, by default, it only shows the caller's country nodes
sh/c all will show the old style full list. "sh/c sk gb" will show the config
of all the GB and SK nodes.
+2. changed sh/stat and sh/route for nodes
19Jan03=======================================================================
1. I have made a fundemental change to the way PC19s are dealt with as a
result of the discussions on the mailing list. From now on, only nodes that
foreach $l (@list) {
my $ref = Route::get($l);
if ($ref) {
- my $parents = join ',', $ref->parents;
+ my $parents = $ref->isa('Route::Node') ? $l : join(',', $ref->parents);
my $dxchan = $ref->dxchan;
push @out, $self->msg('route', $l, $parents, $dxchan->call);
} else {
}
my $cref = Route::get($call);
- my $seek = join(',', $cref->parents) if $cref;
+ my $seek = $cref->isa('Route::Node') ? $call : join(',', $ref->parents) if $cref;
if ($seek) {
push @out, "User : $call (at $seek)";