mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Update the missed steamid nullcheck in clientprefs
This commit is contained in:
parent
96fbb7ecda
commit
6d7115d62f
@ -396,7 +396,7 @@ void ClientPrefs::CatchLateLoadClients()
|
||||
|
||||
/* For legacy reasons, OnClientAuthorized gives the Steam2 id here if using Steam auth */
|
||||
const char *steamId = pPlayer->GetSteam2Id();
|
||||
g_CookieManager.OnClientAuthorized(i, steamId[0] ? steamId : pPlayer->GetAuthString());
|
||||
g_CookieManager.OnClientAuthorized(i, steamId ? steamId : pPlayer->GetAuthString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user