if(settings.modules.tournament_mode.enabled){// 0x1: Save the replays in file
extra_mode_func.call(this,rule);
this.hostinfo.replay_mode|=0x1;
}
}
if((settings.modules.tournament_mode.enabled&&settings.modules.tournament_mode.block_replay_to_player)||(this.hostinfo.mode===1&&settings.modules.replay_delay)){// 0x2: Block the replays to observers
if(rule.match(/(^|,|,)(NOLFLIST|NF)(,|,|$)/)){
this.hostinfo.replay_mode|=0x2;
this.hostinfo.lflist=-1;
}
}
if(settings.modules.tournament_mode.enabled||this.arena){// 0x4: Save chat in cloud replay
if(settings.modules.tournament_mode.enabled){// 0x1: Save the replays in file
this.hostinfo.replay_mode|=0x1;
}
if((settings.modules.tournament_mode.enabled&&settings.modules.tournament_mode.block_replay_to_player)||(this.hostinfo.mode===1&&settings.modules.replay_delay)){// 0x2: Block the replays to observers
this.hostinfo.replay_mode|=0x2;
}
if(settings.modules.tournament_mode.enabled||this.arena){// 0x4: Save chat in cloud replay