summaryrefslogtreecommitdiff
path: root/builtin/client/chatcommands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/client/chatcommands.lua')
-rw-r--r--builtin/client/chatcommands.lua2
1 files changed, 1 insertions, 1 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