summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsor4035 <24964441+wsor4035@users.noreply.github.com>2021-02-27 10:12:51 -0500
committerGitHub <noreply@github.com>2021-02-27 16:12:51 +0100
commit93f155f604eef153bf8527335e312bee4819722c (patch)
treed65eed02329f878406498e0a11c199b31c00cfdf
parent583d2c144165545f10a04075f1f215d829da1ab2 (diff)
downloadmesecons-93f155f604eef153bf8527335e312bee4819722c.tar
mesecons-93f155f604eef153bf8527335e312bee4819722c.tar.gz
mesecons-93f155f604eef153bf8527335e312bee4819722c.tar.bz2
mesecons-93f155f604eef153bf8527335e312bee4819722c.tar.xz
mesecons-93f155f604eef153bf8527335e312bee4819722c.zip
Make /tell need shout priv (#553)
-rw-r--r--mesecons_commandblock/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua
index f68ac4a..f8acce8 100644
--- a/mesecons_commandblock/init.lua
+++ b/mesecons_commandblock/init.lua
@@ -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