From 4c3e5025d6aff5d23fafd5e945be01ec4244d049 Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Fri, 12 Aug 2016 17:18:09 +0200 Subject: [PATCH] Fixed brackets bug --- chatcommands.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatcommands.lua b/chatcommands.lua index 47b2532..a4e6d4a 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -540,8 +540,8 @@ factions.register_command("free", { end }) -factionsm.register_command("chat", { - description = "Send a message to your faction's members" +factions.register_command("chat", { + description = "Send a message to your faction's members", on_success = function(player, faction, pos, chunkpos, args) local msg = table.concat(args.other, " ") faction:broadcast(msg, player)