X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fconsole.pl;h=cd4a44927e5799c8bf13a2858bb5c11a97972f56;hb=7d4b15681464d77945e7ea78ef60ed3305d57d95;hp=663618080dc1a69e444c6251d954cfcd0177a889;hpb=9f38101205c21a4523228c9b41571d26f9adcaec;p=spider.git diff --git a/perl/console.pl b/perl/console.pl index 66361808..cd4a4492 100755 --- a/perl/console.pl +++ b/perl/console.pl @@ -261,7 +261,10 @@ sub rec_socket cease(1); } if (defined $msg) { - my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/; + my ($sort, $incall, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/; + + # change my call if my node says "tonight Michael you are Jane" or something like that... + $call = $incall if $call ne $incall; $line =~ s/[\x00-\x06\x08\x0a-\x19\x1b-\x1f\x80-\x9f]/./g; # immutable CSI sequence + control characters if ($sort && $sort eq 'D') {