Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Nov 28, 2015
1 parent e0b9b47 commit dff4eee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ctf_chat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. " **")
Expand Down

0 comments on commit dff4eee

Please sign in to comment.