# An instance of this is setup by a command together with a load
# of callbacks and then runs with a state machine until completion
#
-# $Id$
+#
#
# Copyright (c) 2001 - Dirk Koopman G1TLH
#
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;
}