Apply suggestion from @ZeldaZach

Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
BruebachL 2026-11-08 08:06:50 +01:00 • committed by GitHub
parent 6a2efa7686
commit e74110c429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2222,6 +2222,9 @@ QList<ServerInfo_UserAlt> Servatrice_DatabaseInterface::getUserAlts(const QStrin
candidate.banCount = candidateQuery.value(6).toInt();
candidate.isActive = candidateQuery.value(7).toBool();
candidates << candidate;
if (candidates.size() >= MAX_USER_ALTS_PER_LEVEL) {
break;
}
}
// Resolve session-level evidence (shared IP or historic client id) for