block areas-related chatcommands to unprivileged users

master
Isidor Zeuner 2020-03-25 16:42:13 +01:00
parent 072769ac3b
commit 7d30240552
1 changed files with 2 additions and 0 deletions

View File

@ -1232,6 +1232,7 @@ minetest.register_chatcommand(
"apply areas command on highlighted area"
),
privs = {
areas = true,
},
func = function(
own_name,
@ -1299,6 +1300,7 @@ minetest.register_chatcommand(
"make the highlighted area owned by a group"
),
privs = {
areas = true,
},
func = function(
own_name,