bad fix to ensure admins/vips are set in case of forwards not being called
This commit is contained in:
parent
6005f0e430
commit
1cd23bc0fc
@ -316,6 +316,11 @@ public Action bot_check_connect(Handle timer, any data)
|
||||
for (int i = 1; i <= MaxClients; i++)
|
||||
if (IsValidClient(i) && !IsFakeClient(i))
|
||||
{
|
||||
//OnClientPostAdminCheck and OnClientAuthorized forwards wont trigger on the gg server after mapchanges/reconnects, welp
|
||||
if (CheckCommandAccess(i, "sm_kick", ADMFLAG_KICK))
|
||||
admins[i] = true;
|
||||
else if (CheckCommandAccess(i, "sm_reserved", ADMFLAG_RESERVATION))
|
||||
vips[i] = true;
|
||||
if (client_count > 60)
|
||||
{
|
||||
found_bot1 = true;
|
||||
|
Loading…
Reference in New Issue
Block a user