diff --git a/mods/ctf/ctf_chat/init.lua b/mods/ctf/ctf_chat/init.lua index 514a73a..46c48aa 100644 --- a/mods/ctf/ctf_chat/init.lua +++ b/mods/ctf/ctf_chat/init.lua @@ -315,28 +315,6 @@ minetest.register_chatcommand("post", { end, }) -minetest.register_chatcommand("all", { - params = "msg", - description = "Send a message on the global channel", - func = function(name, param) - if not ctf.setting("chat.global_channel") then - minetest.chat_send_player(name, "The global channel is disabled") - return - end - - if ctf.player(name).team then - local tosend = ctf.player(name).team .. - " <" .. name .. "> " .. param - minetest.chat_send_all(tosend) - if minetest.global_exists("chatplus") then - chatplus.log(tosend) - end - else - minetest.chat_send_all("<"..name.."> "..param) - end - end -}) - minetest.register_chatcommand("t", { params = "msg", description = "Send a message on the team channel",