X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=67dc56632d80b4d2e06abcb509daa2d239c7c71e;hb=400227d4bd709387099bf224b1c00a6f988c8196;hp=e1b1ea45b0fc5c3b87d01fdd6c767f4d17b6ec15;hpb=7e3729a9039462c460dae4804f40c0bd506f3423;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e1b1ea45..67dc5663 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -429,14 +429,15 @@ sub normal } } + my $origin = $self->{call}; + if (defined &Local::pcprot) { my $r; - eval { $r = Local::pcprot($self, $pcno, $line, @field); }; + eval { $r = Local::pcprot($self, $pcno, $line, $origin, \@field); }; return if $r; # i.e don't process it } # send it out for processing - my $origin = $self->{call}; no strict 'subs'; my $sub = "handle_$pcno";