X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;h=b480b80f8da1b9aa443c4bf54785a4f58e90a76a;hp=8e045705facf02a7e1d7becd08804561d8e2c745;hb=224bcaaa77ed980993f3c7818a1c7de730d0fbab;hpb=45d190f13c6bd6cf8080aeeff015a4630968ed47 diff --git a/remoteglot.pl b/remoteglot.pl index 8e04570..b480b80 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -188,6 +188,7 @@ while (1) { if ($nfound > 0 && vec($rout, fileno($engine->{'read'}), 1) == 1) { my @lines = read_lines($engine); for my $line (@lines) { + next if $line =~ /(upper|lower)bound/; handle_uci($engine, $line, 1); } $sleep = 0; @@ -197,6 +198,7 @@ while (1) { if ($nfound > 0 && vec($rout, fileno($engine2->{'read'}), 1) == 1) { my @lines = read_lines($engine2); for my $line (@lines) { + next if $line =~ /(upper|lower)bound/; handle_uci($engine2, $line, 0); } $sleep = 0;