@@ -206,8 +206,8 @@ func (s *Server) joinAndServe(p person) {
}
}()
id,chall,deal:=s.l.Queue(ctx,p.id)
stop()
<-ch
stop()
ifid==(lobby.GameID{}){
// Context canceled.
p.conn.Close(websocket.StatusTryAgainLater,"sorry, queue is empty...")
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.