From 927f26b60c11c1293874d7e9cb3ca0cfe6255e77 Mon Sep 17 00:00:00 2001 From: octacian Date: Tue, 27 Jun 2017 18:19:13 -0700 Subject: [PATCH] Log chat messages --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index be2cfd0..19487f6 100644 --- a/init.lua +++ b/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