summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index f38cae8..5d1569c 100644
--- a/init.lua
+++ b/init.lua
@@ -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