Make vote and vote_starter basic_privs
This commit is contained in:
parent
9f91feaafa
commit
0c4b736dcd
1 changed files with 4 additions and 2 deletions
|
@ -224,11 +224,13 @@ end
|
||||||
minetest.after(5, vote.update_all_hud)
|
minetest.after(5, vote.update_all_hud)
|
||||||
|
|
||||||
minetest.register_privilege("vote", {
|
minetest.register_privilege("vote", {
|
||||||
description = "Can vote on issues"
|
description = "Can vote on issues",
|
||||||
|
basic_priv = true
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_privilege("vote_starter", {
|
minetest.register_privilege("vote_starter", {
|
||||||
description = "Can vote on issues"
|
description = "Can vote on issues",
|
||||||
|
basic_priv = true
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("yes", {
|
minetest.register_chatcommand("yes", {
|
||||||
|
|
Loading…
Reference in a new issue