From: minima Date: Fri, 15 Jun 2001 15:32:29 +0000 (+0000) Subject: make sure there is a route structure available for PC24 and 41 X-Git-Url: http://dxspider.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef01f110c32faac2ac21f462b87bf729b2db4626;p=spider.git make sure there is a route structure available for PC24 and 41 --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 0f41db46..66d29f2f 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -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);