cope with local users not being in the routing table (why!???)
[spider.git] / cmd / show / users.pl
index 320e9b4be630cef81bf1a2c1769c6c41b3f1aa0e..46d641edf1430f81cd234284425fdf3a584f9f45 100644 (file)
@@ -27,7 +27,11 @@ foreach $call (@val) {
        }
        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++;
 }