X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FExtMsg.pm;h=81b9a1bc33b727798573dc91291e7492b2a33592;hb=1f8f005a832b88884c28bea72bb61cc8d3f55c12;hp=090087817004ce648139d1068e48d66318fad715;hpb=d0e999102802c57e45b9d3a31261caca6ae691c3;p=spider.git diff --git a/perl/ExtMsg.pm b/perl/ExtMsg.pm index 09008781..81b9a1bc 100644 --- a/perl/ExtMsg.pm +++ b/perl/ExtMsg.pm @@ -29,7 +29,7 @@ sub enqueue { my ($conn, $msg) = @_; unless ($msg =~ /^[ABZ]/) { - if ($msg =~ /^E[-\w]+\|([01])/) { + if ($msg =~ /^E[-\w]+\|([01])/ && $conn->{csort} eq 'telnet') { $conn->{echo} = $1; if ($1) { # $conn->send_raw("\xFF\xFC\x01"); @@ -118,7 +118,7 @@ sub new_client { $conn->{state} = 'WL'; # $conn->send_raw("\xff\xfe\x01\xff\xfc\x01\ff\fd\x22"); # $conn->send_raw("\xff\xfa\x22\x01\x01\xff\xf0"); - $conn->send_raw("\xFF\xFC\x01"); +# $conn->send_raw("\xFF\xFC\x01"); _send_file($conn, "$main::data/issue"); $conn->send_raw("login: "); } else {