core: use postinit status code
This commit is contained in:
@ -41,7 +41,7 @@ export default class extends AbstractAuthentifiedView
|
||||
this.tournament = await client.tournaments.getTournament(this.id);
|
||||
|
||||
if (this.tournament === null)
|
||||
return 1;
|
||||
return 404;
|
||||
|
||||
this.tournament.join(this.receive.bind(this), this.ondisconnect.bind(this));
|
||||
|
||||
|
Reference in New Issue
Block a user