diff --git a/init.lua b/init.lua index 2545aed..3eacf1a 100644 --- a/init.lua +++ b/init.lua @@ -148,7 +148,7 @@ minetest.register_privilege("announce", { minetest.register_chatcommand("cmsg", { description = "Show message in the center of the screen to player (“*” sends to all players)", privs = {announce = true}, - params = {" "}, + params = " ", func = function(name, params) local player = minetest.get_player_by_name(name) local targetname, text = string.match(params, "^(%S+)%s(.+)$")