make mail usable by all with shout
This commit is contained in:
parent
3cc3e1647f
commit
d52031b731
@ -198,7 +198,7 @@ minetest.register_chatcommand("inbox", {
|
||||
|
||||
minetest.register_chatcommand("mail", {
|
||||
params = "name msg",
|
||||
privs = {kick = true},
|
||||
privs = {shout = true},
|
||||
description = "mail: add a message to a player's inbox",
|
||||
func = function(name, param)
|
||||
local to, msg = string.match(param, "^([%a%d_-]+) (.+)")
|
||||
|
Loading…
x
Reference in New Issue
Block a user