Give privilege to administrator automatically (#28)

The 'ban_admin' privilege will be given automatically to admins.
master
David Leal 2019-11-25 03:03:45 -06:00 committed by shivajiva101
parent fac3e48808
commit af9d1c41dd
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ if sqlite3 then sqlite3 = nil end
minetest.register_privilege("ban_admin", {
description = "ban administrator",
give_to_singleplayer = false,
give_to_admin = true,
})
local WP = minetest.get_worldpath()