mirror of
https://github.com/minetest-mods/irc.git
synced 2024-11-05 09:40:20 +01:00
Remove minetest colour codes before sending messages to IRC.
This commit is contained in:
parent
e80bbe3a62
commit
070eb51236
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user