Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do getter commands check ownership? #72

Open
SwissalpS opened this issue Apr 23, 2024 · 1 comment
Open

Why do getter commands check ownership? #72

SwissalpS opened this issue Apr 23, 2024 · 1 comment
Labels
question Further information is requested

Comments

@SwissalpS
Copy link
Contributor

xp_redo/areas.lua

Lines 104 to 108 in 9259e18

if not areas:isAreaOwner(id, playername) and
not minetest.check_player_privs(playername, { protection_bypas = true })
then
return true, "you are not the owner of area: " .. id
end

Is there a reason the general public isn't allowed to know the limits that are set on areas?

@SwissalpS SwissalpS added the question Further information is requested label Apr 23, 2024
@BuckarooBanzay
Copy link
Member

looks like that is just a copy/pasted part of the code, shouldn't be there IMO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants