Merge pull request #13 from shamoanjac/master

Fixed brackets bug
This commit is contained in:
agrecascino 2016-08-12 11:19:27 -04:00 committed by GitHub
commit df97039e3f
1 changed files with 2 additions and 2 deletions

View File

@ -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)