Skip to content

Commit

Permalink
Fix root VIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Jun 16, 2018
1 parent cfabb35 commit 7824ec1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions addons/sourcemod/scripting/hexvips.sp
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,8 @@ public void OnClientPostAdminCheck(int client)
char sFlagNeeded[16];
cv_sFlagNeeded.GetString(sFlagNeeded, sizeof(sFlagNeeded));

if (cv_bRootAlways.BoolValue)
{
bVip[client] = CheckAdminFlag(client, sFlagNeeded);
}
bVip[client] = CheckAdminFlagEx(client, sFlagNeeded);
bVip[client] = cv_bRootAlways.BoolValue ? CheckAdminFlag(client, sFlagNeeded) : CheckAdminFlagEx(client, sFlagNeeded);

Call_StartForward(fOnVipStatusUpdate);
Call_PushCell(client);
Call_PushCell(bVip[client]);
Expand Down

0 comments on commit 7824ec1

Please sign in to comment.