Make /tell need shout priv (#553)

This commit is contained in:
wsor4035 2021-02-27 10:12:51 -05:00 committed by GitHub
parent 583d2c1441
commit 93f155f604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ minetest.register_chatcommand("say", {
minetest.register_chatcommand("tell", {
params = "<name> <text>",
description = "Say <text> to <name> privately",
privs = {shout=true},
func = function(name, param)
local found, _, target, message = param:find("^([^%s]+)%s+(.*)$")
if found == nil then