chore: refactor

This commit is contained in:
naiba
2025-01-04 12:32:29 +08:00
parent 81a08a38da
commit 3999d1f99a
3 changed files with 12 additions and 8 deletions

View File

@@ -75,6 +75,7 @@ func (a *authHandler) Check(ctx context.Context) (uint64, error) {
singleton.ServerList[s.ID] = &s
singleton.ServerUUIDToID[clientUUID] = s.ID
singleton.ServerLock.Unlock()
singleton.ReSortServer()
clientID = s.ID