From f2941ba952cb2c3a5b81048fcac7380ec5953dc8 Mon Sep 17 00:00:00 2001 From: BotoX Date: Thu, 24 Oct 2019 14:22:55 +0200 Subject: [PATCH] PlayerManage: don't validate steamid where it's not needed --- PlayerManager/scripting/PlayerManager_Connect.sp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PlayerManager/scripting/PlayerManager_Connect.sp b/PlayerManager/scripting/PlayerManager_Connect.sp index 30138c45..4ac63494 100644 --- a/PlayerManager/scripting/PlayerManager_Connect.sp +++ b/PlayerManager/scripting/PlayerManager_Connect.sp @@ -122,7 +122,7 @@ public Action Command_DisplaySteamStats(int client, int args) if(IsClientInGame(i) && !IsFakeClient(i)) { char sAuthID[32]; - GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); if(!SteamClientAuthenticated(sAuthID)) { @@ -154,7 +154,7 @@ public bool Filter_Steam(const char[] sPattern, Handle hClients) if(IsClientInGame(i) && !IsFakeClient(i)) { char sAuthID[32]; - GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); if(SteamClientAuthenticated(sAuthID)) PushArrayCell(hClients, i); @@ -173,7 +173,7 @@ public bool Filter_NoSteam(const char[] sPattern, Handle hClients) if(IsClientInGame(i) && !IsFakeClient(i)) { char sAuthID[32]; - GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(i, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); if(!SteamClientAuthenticated(sAuthID)) PushArrayCell(hClients, i); @@ -211,7 +211,7 @@ public Action OnClientPreAdminCheck(int client) return Plugin_Continue; char sAuthID[32]; - GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); if(!SteamClientAuthenticated(sAuthID)) { @@ -234,7 +234,7 @@ public void OnClientPostAdminCheck(int client) return; char sAuthID[32]; - GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); if(!SteamClientAuthenticated(sAuthID)) { @@ -279,7 +279,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[] return; char sAuthID[32]; - GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID)); + GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), false); char sAddress[16]; GetClientIP(client, sAddress, sizeof(sAddress));