+ $line =~ s/^$argv[0]\s*//;
+}
+
+my $call = $via ? $via : $to;
+my $ref = DXCluster->get($call);
+
+# if we haven't got an explicit via and we can't see them, try their node
+unless ($ref || $via) {
+ my $user = DXUser->get($call);
+ $ref = DXCluster->get_exact($user->node);
+ if ($ref) {
+ $via = $user->node;
+ push @out, "trying via $via..";
+ }