1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-26 00:40:19 +01:00

Remove minetest colour codes before sending messages to IRC.

This commit is contained in:
red-001 2017-05-04 18:25:28 +01:00 committed by Diego Martínez
parent e80bbe3a62
commit 070eb51236

View File

@ -31,7 +31,7 @@ minetest.register_on_chat_message(function(name, message)
if nl then
message = message:sub(1, nl - 1)
end
irc.say(irc.playerMessage(name, message))
irc.say(irc.playerMessage(name, core.strip_colors(message)))
end)