Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Check punishment type when deciding /l visibility #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stupid3700
Copy link

When doing /l to view a player's punishments, no check is currently performed on the punishment type when determining visibility. This allows players to view punishments they shouldn't be able to (such as warnings).

Note that this has the side effect of preventing you from seeing your own warnings with /l, which is supposed to have its own permission node, but it's better than allowing others' warnings to be seen and can be added on afterwards if required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant