Fixes: colorize spam in private messages

This commit is contained in:
shivajiva101 2020-05-07 23:12:58 +01:00 committed by GitHub
parent ceb40e2bb3
commit 29d5849285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ function irc.reply(message)
return
end
message = message:gsub("[\r\n%z]", " \\n ")
irc.say(irc.last_from, message)
irc.say(irc.last_from, minetest.strip_colors(message))
end
function irc.send(msg)