Skip to content

Commit

Permalink
fix: add redm_dump_equip access check
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Jun 21, 2024
1 parent 295e566 commit 1b05e5e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ static Array: GetEquipConfig(const player, const EquipType_e: section) {
}

public ConCmd_redm_dump_equip(const player, const level, const commandId) {
if (!cmd_access(player, level, commandId, 1))
return PLUGIN_HANDLED

DumpEquip(player)

return PLUGIN_HANDLED
Expand Down

0 comments on commit 1b05e5e

Please sign in to comment.