mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 23:17:28 +01:00
Make /tell need shout priv (#553)
This commit is contained in:
parent
583d2c1441
commit
93f155f604
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user