NSM: fix round 2
This commit is contained in:
parent
6632f5bdc4
commit
093d95c50e
@ -348,7 +348,7 @@ public int Native_GetPlayerType(Handle hPlugin, int numParams)
|
|||||||
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
||||||
|
|
||||||
if(SteamClientAuthenticated(sAuthID))
|
if(SteamClientAuthenticated(sAuthID))
|
||||||
return SetNativeString(2, "SteamLegit", length + 1);
|
return !SetNativeString(2, "SteamLegit", length + 1);
|
||||||
|
|
||||||
return !SetNativeString(2, "NoAuth", length + 1);
|
return !SetNativeString(2, "NoAuth", length + 1);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user