cope with local users not being in the routing table (why!???)
[spider.git] / cmd / show / configuration.pl
index bbfdd12c321788c1fee85f19a32caa4503f70ac1..a49ffeec990317d55cafc473b502627d150a785d 100644 (file)
@@ -64,7 +64,11 @@ if ($list[0] && $list[0] =~ /^NOD/) {
                        }
                        my $uref = Route::User::get($call);
                        my $s = $call;
-                       $s = sprintf "(%s)", $s unless $uref->here;
+                       if ($uref) {
+                               $s = sprintf "(%s)", $call unless $uref->here;
+                       } else {
+                               $s = "$call?";
+                       }
                        push @l, $s;
                        $i++;
                }