Replace on_receive_messages with on_receive_message (#7)

master
lisacvuk 2017-06-24 08:10:02 +02:00 committed by cheapie
parent 8fdd22a661
commit 4d422773b0
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ local function get_nick_color(nick)
return(nick_colors[color+1])
end
minetest.register_on_receiving_chat_messages(function(message)
minetest.register_on_receiving_chat_message(function(message)
if color and type(color.strip_colors) == "function" then
message = color.strip_colors(message)
end