X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FExtMsg.pm;h=838c74e122460dfae490b6737727dec32590be99;hb=3b3b52396a19281c24481f0fcf7d216f426f94d9;hp=e181722d1ba36d0d9f614bcdaa894ca017250ef6;hpb=0bbd79b480f385485ce6b0be25f9dee47e955eb1;p=spider.git diff --git a/perl/ExtMsg.pm b/perl/ExtMsg.pm index e181722d..838c74e1 100644 --- a/perl/ExtMsg.pm +++ b/perl/ExtMsg.pm @@ -70,7 +70,7 @@ sub dequeue } } if ($conn->{state} eq 'WC' && exists $conn->{cmd} && @{$conn->{cmd}} == 0) { - $conn->to_connected($conn->{call}, 'O', $conn->{sort}); + $conn->to_connected($conn->{call}, 'O', $conn->{csort}); } } elsif ($conn->{msg} =~ /\cJ/) { my @lines = $conn->{msg} =~ /([^\cM\cJ]*)\cM?\cJ/g; @@ -90,7 +90,7 @@ sub dequeue } elsif ($conn->{state} eq 'WL' ) { $msg = uc $msg; if (is_callsign($msg)) { - $conn->to_connected($msg, 'A', 'telnet'); + $conn->to_connected($msg, 'A', $conn->{csort}); } else { $conn->send_now("Sorry $msg is an invalid callsign"); $conn->disconnect; @@ -99,7 +99,7 @@ sub dequeue if (exists $conn->{cmd} && @{$conn->{cmd}}) { $conn->_docmd($msg); if ($conn->{state} eq 'WC' && exists $conn->{cmd} && @{$conn->{cmd}} == 0) { - $conn->to_connected($conn->{call}, 'O', $conn->{sort}); + $conn->to_connected($conn->{call}, 'O', $conn->{csort}); } } }