]> dxcluster.org Git - spider.git/commitdiff
improve the pc24 fix
authorminima <minima>
Mon, 25 Jun 2001 18:08:08 +0000 (18:08 +0000)
committerminima <minima>
Mon, 25 Jun 2001 18:08:08 +0000 (18:08 +0000)
perl/DXProt.pm

index 8bfd6c3e43d4525d01fbe7109577db14c11ae2d1..52e7b3eda744774ad3e6f9ce673c4214d4e1faaa 100644 (file)
@@ -784,16 +784,18 @@ sub normal
                if ($pcno == 24) {              # set here status
                        my $call = uc $field[1];
                        my ($nref, $uref);
-                       $nref = Route::Node::get($call) && $nref->here($field[2]);
-                       $uref = Route::User::get($call) && $uref->here($field[2]);
+                       $nref = Route::Node::get($call);
+                       $uref = Route::User::get($call);
                        return unless $nref || $uref;   # if we don't know where they are, it's pointless sending it on
                        
                        unless (eph_dup($line)) {
                                if ($nref) {
+                                       $nref->here($field[2]);
                                        return unless $self->in_filter_route($nref);
                                        $self->route_pc24($nref, $field[3])
                                }
                                if ($uref) {
+                                       $uref->here($field[2]);
                                        return unless $self->in_filter_route($uref);
                                        $self->route_pc24($uref, $field[3]);
                                }