]> dxcluster.net Git - spider.git/commitdiff
fix the Route::new on Pc24
authorminima <minima>
Fri, 15 Jun 2001 23:35:47 +0000 (23:35 +0000)
committerminima <minima>
Fri, 15 Jun 2001 23:35:47 +0000 (23:35 +0000)
perl/DXProt.pm

index 66d29f2fc6d99a982e915c57ec56a0cc86d7b857..e184685bd7341e2c0bf55c517073fd8e34c42f1a 100644 (file)
@@ -789,9 +789,10 @@ sub normal
                        $ref->here($field[2]) if $ref;
                        $ref = Route::User::get($call);
                        $ref->here($field[2]) if $ref;
+                       $ref ||= Route->new($call);
                        
                        # input filter if required
-                       return unless $self->in_filter_route($ref || Route::new($call));
+                       return unless $self->in_filter_route($ref);
 
                        $self->route_pc24($ref, $field[3]) if $ref && !eph_dup($line);
                        return;