From: minima Date: Fri, 14 Sep 2001 00:13:21 +0000 (+0000) Subject: prevent empty PC41 fields from polluting data base X-Git-Tag: R_1_48~19 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d755df6b0d8636240520f66680972e9e70f98860;p=spider.git prevent empty PC41 fields from polluting data base --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 84ce9893..181c75b0 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -969,7 +969,7 @@ sub normal # my $ref = Route::get($call) || Route->new($call); # return unless $self->in_filter_route($ref); - if ($field[3] eq $field[2]) { + if ($field[3] eq $field[2] || field[3] =~ /^\s*$/) { dbg('PCPROT: invalid value') if isdbg('chanerr'); return; }