Add missing priv check to /join cmd
This commit is contained in:
parent
3bb4dddc21
commit
0ed4cadb7c
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ minetest.register_chatcommand("team", {
|
|||
minetest.register_chatcommand("join", {
|
||||
params = "team name",
|
||||
description = "Add to team",
|
||||
privs = {ctf_team_mgr = true},
|
||||
func = function(name, param)
|
||||
if ctf.join(name, param, false, name) then
|
||||
return true, "Joined team " .. param .. "!"
|
||||
|
|
Loading…
Reference in a new issue