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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function irc.bot_command(msg, text)
return
end
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!")
return
end