From 857a49e08131bb46ca18d08d3b4aba44df1676d1 Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 26 Jan 2014 18:40:25 +0100 Subject: Add minetest.kick_player(name, reason) --- src/script/lua_api/l_server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_server.h') diff --git a/src/script/lua_api/l_server.h b/src/script/lua_api/l_server.h index 21f300400..0d0aa45c8 100644 --- a/src/script/lua_api/l_server.h +++ b/src/script/lua_api/l_server.h @@ -79,6 +79,9 @@ 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); + // notify_authentication_modified(name) static int l_notify_authentication_modified(lua_State *L); -- cgit v1.2.3