diff options
author | red-001 <red-001@outlook.ie> | 2017-04-01 12:40:56 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-01 13:40:56 +0200 |
commit | 63ac62ec8abe30f0d6dd2cfe0ddaab291c36893f (patch) | |
tree | 76707d22d37fc2fd29e5c5326f3848780599eb36 /src/script/lua_api/l_client.h | |
parent | 813a9a36b22a4e2d7383622311b6f52e31a94733 (diff) | |
download | minetest-63ac62ec8abe30f0d6dd2cfe0ddaab291c36893f.tar.gz minetest-63ac62ec8abe30f0d6dd2cfe0ddaab291c36893f.tar.bz2 minetest-63ac62ec8abe30f0d6dd2cfe0ddaab291c36893f.zip |
[CSM] Add function and chat command to disconnect from server. (#5487)
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 3 |
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 b79cc670d..d7f92ac1c 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -41,6 +41,9 @@ private: // send_respawn() static int l_send_respawn(lua_State *L); + // disconnect() + static int l_disconnect(lua_State *L); + // gettext(text) static int l_gettext(lua_State *L); |