X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fconsole.pl;h=cd4a44927e5799c8bf13a2858bb5c11a97972f56;hb=102b51ca564ef29e7f84d2cf65d0eaa5fdab671a;hp=663618080dc1a69e444c6251d954cfcd0177a889;hpb=f11237c455a6440b5158206dcb2d03850ed1b7b0;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') {