From aef179d878248e49e29a914e22c6597501bda430 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 9 Feb 2017 12:48:38 +0100 Subject: [PATCH] Fix crash when using /help cmsg --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(.+)$")