summaryrefslogtreecommitdiff
path: root/builtin/client/chatcommands.lua
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-06-09 15:48:04 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-09 15:48:04 +0200
commit44495ea719b98aca341b9082521d0d4ee51405c8 (patch)
tree450c62d0435642a4a4bb1c7ac09c33ed69b8679a /builtin/client/chatcommands.lua
parent312ca0382b864e6cdc20e308c33558869527a8ff (diff)
downloadminetest-44495ea719b98aca341b9082521d0d4ee51405c8.tar.gz
minetest-44495ea719b98aca341b9082521d0d4ee51405c8.tar.bz2
minetest-44495ea719b98aca341b9082521d0d4ee51405c8.zip
CSM: Fix documentation error for register_on_*_chat_messages (#5917)
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