1
0
mirror of https://github.com/minetest-mods/irc.git synced 2025-09-18 12:30:36 +02:00

IRC PMs colorized in-game

This commit is contained in:
Anand S
2018-04-22 12:59:18 +05:30
committed by GitHub
parent f57bdba5e9
commit fc6da152f7

View File

@@ -51,7 +51,7 @@ function irc.bot_command(msg, text)
return return
end end
minetest.chat_send_player(player_to, minetest.chat_send_player(player_to,
"PM from "..msg.user.nick.."@IRC: "..message, false) minetest.colorize("#640078", "PM from "..msg.user.nick.."@IRC: " ..message), false)
irc.reply("Message sent!") irc.reply("Message sent!")
return return
end end