X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FExtMsg.pm;h=a84b598a49b0b7461e515e593c73ecc2112ce479;hb=c02dc2d8b544b9d682c9a068ba13bdedf40ed3bf;hp=0ca2de83c6f5d367a67fbb4dc87d0267372b84f0;hpb=7c7080ad7019d6e23a8ad401256122e81fa03a5a;p=spider.git diff --git a/perl/ExtMsg.pm b/perl/ExtMsg.pm index 0ca2de83..a84b598a 100644 --- a/perl/ExtMsg.pm +++ b/perl/ExtMsg.pm @@ -72,7 +72,7 @@ sub dequeue my $conn = shift; my $msg; - if ($conn->{csort} eq 'ax25' && exists $conn->{msg}) { + if ($conn->ax25 && exists $conn->{msg}) { $conn->{msg} =~ s/\cM/\cJ/g; } if ($conn->{state} eq 'WC') { @@ -153,7 +153,7 @@ sub to_connected delete $conn->{cmd}; $conn->{timeout}->del if $conn->{timeout}; delete $conn->{timeout}; - $conn->nolinger unless $conn->isa('AGWMsg') || $conn->isa('BPQMsg'); + $conn->nolinger unless $conn->ax25; &{$conn->{rproc}}($conn, "$dir$call|$sort"); $conn->_send_file("$main::data/connected") unless $conn->{outgoing}; }