Merge branch 'master' of ssh://the-cake-is-a-lie.net:20022/jonas/ultimate_tictactoe_server
This commit is contained in:
commit
2517076e25
@ -12,7 +12,7 @@ player_games = {}
|
||||
|
||||
async def register_user(id, socket):
|
||||
|
||||
if id in player_id_queue:
|
||||
if id in player_id_queue or id in player_games:
|
||||
return False
|
||||
|
||||
player_id_queue.add(id)
|
||||
|
Loading…
Reference in New Issue
Block a user