PlayerManage: don't validate steamid where it's not needed
This commit is contained in:
parent
f0d6326c39
commit
f2941ba952
@ -122,7 +122,7 @@ public Action Command_DisplaySteamStats(int client, int args)
|
|||||||
if(IsClientInGame(i) && !IsFakeClient(i))
|
if(IsClientInGame(i) && !IsFakeClient(i))
|
||||||
{
|
{
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
if(!SteamClientAuthenticated(sAuthID))
|
if(!SteamClientAuthenticated(sAuthID))
|
||||||
{
|
{
|
||||||
@ -154,7 +154,7 @@ public bool Filter_Steam(const char[] sPattern, Handle hClients)
|
|||||||
if(IsClientInGame(i) && !IsFakeClient(i))
|
if(IsClientInGame(i) && !IsFakeClient(i))
|
||||||
{
|
{
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
if(SteamClientAuthenticated(sAuthID))
|
if(SteamClientAuthenticated(sAuthID))
|
||||||
PushArrayCell(hClients, i);
|
PushArrayCell(hClients, i);
|
||||||
@ -173,7 +173,7 @@ public bool Filter_NoSteam(const char[] sPattern, Handle hClients)
|
|||||||
if(IsClientInGame(i) && !IsFakeClient(i))
|
if(IsClientInGame(i) && !IsFakeClient(i))
|
||||||
{
|
{
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
if(!SteamClientAuthenticated(sAuthID))
|
if(!SteamClientAuthenticated(sAuthID))
|
||||||
PushArrayCell(hClients, i);
|
PushArrayCell(hClients, i);
|
||||||
@ -211,7 +211,7 @@ public Action OnClientPreAdminCheck(int client)
|
|||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
|
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
if(!SteamClientAuthenticated(sAuthID))
|
if(!SteamClientAuthenticated(sAuthID))
|
||||||
{
|
{
|
||||||
@ -234,7 +234,7 @@ public void OnClientPostAdminCheck(int client)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
if(!SteamClientAuthenticated(sAuthID))
|
if(!SteamClientAuthenticated(sAuthID))
|
||||||
{
|
{
|
||||||
@ -279,7 +279,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[]
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
char sAuthID[32];
|
char sAuthID[32];
|
||||||
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID));
|
GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false);
|
||||||
|
|
||||||
char sAddress[16];
|
char sAddress[16];
|
||||||
GetClientIP(client, sAddress, sizeof(sAddress));
|
GetClientIP(client, sAddress, sizeof(sAddress));
|
||||||
|
Loading…
Reference in New Issue
Block a user