summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-05-20 16:46:12 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-05-20 16:46:12 +0200
commitaf2f02552f1999b9b491fc44386be5c1ea8a8882 (patch)
treec5e1a684bf5f7fb486d0bdfd5ffa68b2a90f967b /src/script/lua_api/l_client.h
parent772944daf69ab463568fbbf35a9011e4c8e6c44a (diff)
downloadminetest-af2f02552f1999b9b491fc44386be5c1ea8a8882.tar.gz
minetest-af2f02552f1999b9b491fc44386be5c1ea8a8882.tar.bz2
minetest-af2f02552f1999b9b491fc44386be5c1ea8a8882.zip
[CSM] Correct the log destination of print() (#5784)
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index a36d7e51c..2267a4c9d 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -29,6 +29,9 @@ private:
// get_current_modname()
static int l_get_current_modname(lua_State *L);
+ // print(text)
+ static int l_print(lua_State *L);
+
// display_chat_message(message)
static int l_display_chat_message(lua_State *L);