Skip to content

Commit

Permalink
ops
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mack committed Dec 14, 2023
1 parent ec62065 commit f9d2bca
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Commands/ReportHandled.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public void ReportHandledCommand(CCSPlayerController? player, CommandInfo comman



/* if (!string.IsNullOrEmpty(Config.Commands.ReportHandledPermission) && !AdminManager.PlayerHasPermissions(player, Config.Commands.ReportHandledPermission.Split(";").Select(space => space.Trim()).ToArray()))
{
command.ReplyToCommand($"{Localizer["Prefix"]} {Localizer["MissingCommandPermission"]}");
return;
} */
if (!string.IsNullOrEmpty(Config.Commands.ReportHandledPermission) && !AdminManager.PlayerHasPermissions(player, Config.Commands.ReportHandledPermission.Split(";").Select(space => space.Trim()).ToArray()))
{
command.ReplyToCommand($"{Localizer["Prefix"]} {Localizer["MissingCommandPermission"]}");
return;
}

int playerIndex = (int)player.Index;

Expand Down
Binary file modified bin/Debug/net7.0/CallAdmin.dll
Binary file not shown.
Binary file modified bin/Debug/net7.0/CallAdmin.pdb
Binary file not shown.
Binary file modified obj/Debug/net7.0/CallAdmin.dll
Binary file not shown.
Binary file modified obj/Debug/net7.0/CallAdmin.pdb
Binary file not shown.
Binary file modified obj/Debug/net7.0/ref/CallAdmin.dll
Binary file not shown.
Binary file modified obj/Debug/net7.0/refint/CallAdmin.dll
Binary file not shown.

0 comments on commit f9d2bca

Please sign in to comment.