]> dxcluster.net Git - spider.git/commitdiff
make sure there is a route structure available for PC24 and 41
authorminima <minima>
Fri, 15 Jun 2001 15:32:29 +0000 (15:32 +0000)
committerminima <minima>
Fri, 15 Jun 2001 15:32:29 +0000 (15:32 +0000)
perl/DXProt.pm

index 0f41db4670747c897e42a5fd9c47eccdad1c8581..66d29f2fc6d99a982e915c57ec56a0cc86d7b857 100644 (file)
@@ -791,7 +791,7 @@ sub normal
                        $ref->here($field[2]) if $ref;
                        
                        # input filter if required
-                       return unless $self->in_filter_route($ref);
+                       return unless $self->in_filter_route($ref || Route::new($call));
 
                        $self->route_pc24($ref, $field[3]) if $ref && !eph_dup($line);
                        return;
@@ -931,7 +931,7 @@ sub normal
                        }
                        $user->lastoper($main::systime);   # to cut down on excessive for/opers being generated
                        $user->put;
-                       my $ref = Route::get($call);
+                       my $ref = Route::get($call) || Route->new($call);
 
                        # input filter if required
                        return unless $self->in_filter_route($ref);