From b7dc53779e25f380051316e9c0baf2cee037256d Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 7 Dec 2015 23:54:22 +0000 Subject: [PATCH] Add ctf_match priv --- mods/ctf_match/chat.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/ctf_match/chat.lua b/mods/ctf_match/chat.lua index c86bb3e..1aea8aa 100644 --- a/mods/ctf_match/chat.lua +++ b/mods/ctf_match/chat.lua @@ -1,7 +1,11 @@ +minetest.register_privilege("ctf_match", { + description = "can skip matches" +}) + minetest.register_chatcommand("ctf_next", { description = "Skip to the next match", privs = { - ctf_admin = true + ctf_match = true }, func = function(name, param) ctf_match.next()