mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!IsClientAuthorized(i))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (((flags & COMMAND_FILTER_NO_BOTS) == COMMAND_FILTER_NO_BOTS)
|
if (((flags & COMMAND_FILTER_NO_BOTS) == COMMAND_FILTER_NO_BOTS)
|
||||||
&& IsFakeClient(i))
|
&& IsFakeClient(i))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user