Replace usages of GetClientAuthString with GetClientAuthId
This commit is contained in:
		
							parent
							
								
									a1dc1101f7
								
							
						
					
					
						commit
						ec46e12c50
					
				@ -477,7 +477,7 @@ FetchUser(Handle:db, client)
 | 
			
		||||
	GetClientIP(client, ipaddr, sizeof(ipaddr));
 | 
			
		||||
	
 | 
			
		||||
	steamid[0] = '\0';
 | 
			
		||||
	if (GetClientAuthString(client, steamid, sizeof(steamid)))
 | 
			
		||||
	if (GetClientAuthId(client, AuthId_Steam2, steamid, sizeof(steamid)))
 | 
			
		||||
	{
 | 
			
		||||
		if (StrEqual(steamid, "STEAM_ID_LAN"))
 | 
			
		||||
		{
 | 
			
		||||
 | 
			
		||||
@ -534,7 +534,7 @@ public ParamCheck(client)
 | 
			
		||||
						}
 | 
			
		||||
						case SteamId:
 | 
			
		||||
						{
 | 
			
		||||
							if (GetClientAuthString(i, infoBuffer, sizeof(infoBuffer)))
 | 
			
		||||
							if (GetClientAuthId(i, AuthId_Steam2, infoBuffer, sizeof(infoBuffer)))
 | 
			
		||||
								AddMenuItem(itemMenu, infoBuffer, nameBuffer);
 | 
			
		||||
						}	
 | 
			
		||||
						case IpAddress:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user