block areas-related chatcommands to unprivileged users
parent
072769ac3b
commit
7d30240552
2
init.lua
2
init.lua
|
@ -1232,6 +1232,7 @@ minetest.register_chatcommand(
|
||||||
"apply areas command on highlighted area"
|
"apply areas command on highlighted area"
|
||||||
),
|
),
|
||||||
privs = {
|
privs = {
|
||||||
|
areas = true,
|
||||||
},
|
},
|
||||||
func = function(
|
func = function(
|
||||||
own_name,
|
own_name,
|
||||||
|
@ -1299,6 +1300,7 @@ minetest.register_chatcommand(
|
||||||
"make the highlighted area owned by a group"
|
"make the highlighted area owned by a group"
|
||||||
),
|
),
|
||||||
privs = {
|
privs = {
|
||||||
|
areas = true,
|
||||||
},
|
},
|
||||||
func = function(
|
func = function(
|
||||||
own_name,
|
own_name,
|
||||||
|
|
Loading…
Reference in New Issue