aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/client/chatcommands.lua2
-rw-r--r--builtin/client/register.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua
index 2b8cc4acd..ed43a6140 100644
--- a/builtin/client/chatcommands.lua
+++ b/builtin/client/chatcommands.lua
@@ -1,7 +1,7 @@
-- Minetest: builtin/client/chatcommands.lua
-core.register_on_sending_chat_messages(function(message)
+core.register_on_sending_chat_message(function(message)
if message:sub(1,2) == ".." then
return false
end
diff --git a/builtin/client/register.lua b/builtin/client/register.lua
index 6b12ddec8..cfc5abaa7 100644
--- a/builtin/client/register.lua
+++ b/builtin/client/register.lua
@@ -61,8 +61,8 @@ end
core.registered_globalsteps, core.register_globalstep = make_registration()
core.registered_on_shutdown, core.register_on_shutdown = make_registration()
core.registered_on_connect, core.register_on_connect = make_registration()
-core.registered_on_receiving_chat_messages, core.register_on_receiving_chat_messages = make_registration()
-core.registered_on_sending_chat_messages, core.register_on_sending_chat_messages = make_registration()
+core.registered_on_receiving_chat_message, core.register_on_receiving_chat_message = make_registration()
+core.registered_on_sending_chat_message, core.register_on_sending_chat_message = make_registration()
core.registered_on_death, core.register_on_death = make_registration()
core.registered_on_hp_modification, core.register_on_hp_modification = make_registration()
core.registered_on_damage_taken, core.register_on_damage_taken = make_registration()