add more fixes for peerhosts
[spider.git] / perl / EphMsg.pm
index 0814df84d7288d5a21f0775d4b7f3c556e00d178..a6da8a2df2b54962f69dfa8e6e0c0a1726f52277 100644 (file)
@@ -45,7 +45,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;
        }