diff --git a/ctf_chat/init.lua b/ctf_chat/init.lua index 85d743d..270f034 100644 --- a/ctf_chat/init.lua +++ b/ctf_chat/init.lua @@ -255,6 +255,9 @@ minetest.register_chatcommand("t", { local team = ctf.team(tname) if team then minetest.log("action", tname .. "<" .. name .. "> ** ".. param .. " **") + if minetest.global_exists("chatplus") then + chatplus.log(tname .. "<" .. name .. "> ** ".. param .. " **") + end for username, to in pairs(team.players) do minetest.chat_send_player(username, tname .. "<" .. name .. "> ** " .. param .. " **")