mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T268, fixed CG comparison
This commit is contained in:
@@ -213,6 +213,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (callsign.isEmpty()) { return false; }
|
||||
QReadLocker l(&m_lockCG);
|
||||
if (!m_cgsPerCallsign.contains(callsign)) { return false; }
|
||||
return m_cgsPerCallsign[callsign] == cg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user