summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2017-06-24 08:10:02 +0200
committercheapie <no-email-for-you@example.com>2017-06-24 01:10:02 -0500
commite8b521162fc539d6ca23f9f7510043d900991e03 (patch)
tree0936606db2951a8fc974215ec59c13e29ba55d97
parentf48e36a2c3ab15a8dbe558a14a1ed813ad9b0ec9 (diff)
downloadchat6-e8b521162fc539d6ca23f9f7510043d900991e03.tar
chat6-e8b521162fc539d6ca23f9f7510043d900991e03.tar.gz
chat6-e8b521162fc539d6ca23f9f7510043d900991e03.tar.bz2
chat6-e8b521162fc539d6ca23f9f7510043d900991e03.tar.xz
chat6-e8b521162fc539d6ca23f9f7510043d900991e03.zip
Replace on_receive_messages with on_receive_message (#7)
-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