replaced kickclient with just having the client auto retry when steamID is pending

This commit is contained in:
jenz 2023-04-15 23:51:59 +02:00
parent 1cbbeecdb8
commit 6244beff71

View File

@ -336,7 +336,11 @@ public Action CheckAuth(Handle timer, int data)
if(!GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), true)) if(!GetClientAuthId(client, AuthId_Steam2, sAuthID, sizeof(sAuthID), true))
{ {
LogMessage("%L could not be assigned to a SteamID, kicking client.", client); LogMessage("%L could not be assigned to a SteamID, kicking client.", client);
KickClient(client, "Invalid STEAMID"); //KickClient(client, "Invalid STEAMID");
if (IsClientConnected(client) && !IsFakeClient(client) && !IsClientSourceTV(client))
{
ClientCommand(client, "retry");
}
} }
return Plugin_Stop; return Plugin_Stop;
} }