mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Don't attempt to get auth string for unauthorized clients
This commit is contained in:
parent
67f5fcdb25
commit
9b06d85771
@ -399,6 +399,11 @@ int AddTargetsToMenuByAuthId(Menu menu, int source_client, int flags, AuthIdType
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!IsClientAuthorized(i))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (((flags & COMMAND_FILTER_NO_BOTS) == COMMAND_FILTER_NO_BOTS)
|
||||
&& IsFakeClient(i))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user