From ef01f110c32faac2ac21f462b87bf729b2db4626 Mon Sep 17 00:00:00 2001 From: minima Date: Fri, 15 Jun 2001 15:32:29 +0000 Subject: [PATCH] make sure there is a route structure available for PC24 and 41 --- perl/DXProt.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.43.0