diff --git a/ctf_chat/init.lua b/ctf_chat/init.lua index 7dd0f01..3fc3e0d 100644 --- a/ctf_chat/init.lua +++ b/ctf_chat/init.lua @@ -286,7 +286,7 @@ minetest.register_chatcommand("t", { -- Chat plus stuff if minetest.global_exists("chatplus") then function chatplus.log_message(from, msg) - local tname = ctf.player(from).team + local tname = ctf.player(from).team or "" chatplus.log(tname .. "<" .. from .. "> " .. msg) end