diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-28 01:13:55 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:56 +0200 |
commit | 19a1ac1f34c8dba8ada039c916858e16e2637f36 (patch) | |
tree | a9020ccecb30122341186666d44d6a21f92dc37a /data | |
parent | 30648d1cc987b25ccd2e09e18ee483a6b92e5ec1 (diff) | |
download | minetest-19a1ac1f34c8dba8ada039c916858e16e2637f36.tar.gz minetest-19a1ac1f34c8dba8ada039c916858e16e2637f36.tar.bz2 minetest-19a1ac1f34c8dba8ada039c916858e16e2637f36.zip |
For consistency, implement calling of on_chat_message callbacks in C
Diffstat (limited to 'data')
-rw-r--r-- | data/builtin.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/data/builtin.lua b/data/builtin.lua index a32761921..b14ffa3b4 100644 --- a/data/builtin.lua +++ b/data/builtin.lua @@ -166,14 +166,4 @@ minetest.registered_on_generateds, minetest.register_on_generated = make_registr minetest.registered_on_newplayers, minetest.register_on_newplayer = make_registration() minetest.registered_on_respawnplayers, minetest.register_on_respawnplayer = make_registration() -minetest.on_chat_message = function(name, message) - for i,func in ipairs(minetest.registered_on_chat_messages) do - local ate = func(name, message) - if ate then - return true - end - end - return false -end - -- END |