GUI: Make `/xban_gui` only usable by players with `ban` priv.

This commit is contained in:
Diego Martínez 2016-10-20 10:24:44 -03:00
parent 49db5aa888
commit 320abd34de
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ end)
minetest.register_chatcommand("xban_gui", {
description = "Show XBan GUI",
params = "",
privs = { ban=true, },
func = function(name, params)
minetest.show_formspec(name, FORMNAME, make_fs(name))
end,