Log chat messages
This commit is contained in:
parent
358f171a42
commit
927f26b60c
1
init.lua
1
init.lua
@ -248,6 +248,7 @@ minetest.register_on_chat_message(function(name, message)
|
||||
local colour = get_colour(def.colour)
|
||||
minetest.chat_send_all(minetest.colorize(colour, def.prefix)..
|
||||
" <"..name.."> "..message)
|
||||
minetest.log("action", "CHAT: ".."<"..name.."> "..message)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user