diff options
author | Corey Powell <mistdragon100@gmail.com> | 2021-11-26 14:19:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 19:19:40 +0000 |
commit | 413be76c63309266d3d271f01cc74385067d7263 (patch) | |
tree | 1af31eb460950e937979e0036b679c600e12b887 /src/script/lua_api/l_server.h | |
parent | c85aa0030f48e088d64a60b1e0df924a68c3964a (diff) | |
download | minetest-413be76c63309266d3d271f01cc74385067d7263.tar.gz minetest-413be76c63309266d3d271f01cc74385067d7263.tar.bz2 minetest-413be76c63309266d3d271f01cc74385067d7263.zip |
Implemented disconnect_player (#10492)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Diffstat (limited to 'src/script/lua_api/l_server.h')
-rw-r--r-- | src/script/lua_api/l_server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index a6f709787..f05c0b7c9 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -97,8 +97,8 @@ private: // unban_player_or_ip() static int l_unban_player_or_ip(lua_State *L); - // kick_player(name, [message]) -> success - static int l_kick_player(lua_State *L); + // disconnect_player(name, [reason]) -> success + static int l_disconnect_player(lua_State *L); // remove_player(name) static int l_remove_player(lua_State *L); |