Since October 2016 the ICS crashed within minutes, when games are going on.
The cause seems to be a reversed test for bughouse in game_ended(), which
informed players of the availability of the bughouse partners of the ending
game if and only if the game was not bughouse. Accessig bughouse partners
only when they exist seems to have solved the problem.
pprintf (p,"\n%s",avail_black);
avail_printed = 1;
}
- if (gl == -1) /* bughouse ? */ {
+ if (gl != -1) /* bughouse ? */ {
if (((player_globals.parray[game_globals.garray[gl].white].b_stats.rating <= pp->availmax) && (player_globals.parray[game_globals.garray[gl].white].b_stats.rating >= pp->availmin)) || (!pp->availmax)) {
pprintf (p,"\n%s",avail_bugwhite);
avail_printed = 1;