diff options
author | Diego MartÃnez <lkaezadl3@yahoo.com> | 2016-10-20 10:24:44 -0300 |
---|---|---|
committer | Diego MartÃnez <lkaezadl3@yahoo.com> | 2016-10-20 10:24:44 -0300 |
commit | 320abd34dea23163dcd015c43325b4c64bfc5669 (patch) | |
tree | bc6f59402ba048c9caa777a371e165a0a02b47e9 | |
parent | 49db5aa8883cc35438a526ed427b6bff470ed308 (diff) | |
download | xban2-320abd34dea23163dcd015c43325b4c64bfc5669.tar.gz xban2-320abd34dea23163dcd015c43325b4c64bfc5669.tar.bz2 xban2-320abd34dea23163dcd015c43325b4c64bfc5669.zip |
GUI: Make `/xban_gui` only usable by players with `ban` priv.
-rw-r--r-- | gui.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |