aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_http.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-02-04 20:29:28 +0100
committerGitHub <noreply@github.com>2022-02-04 20:29:28 +0100
commitafb061c374ed6797f47b0806aba26845713d15ac (patch)
tree52a84a63bfe91ef624654b9f9292077042077bd6 /src/script/lua_api/l_http.h
parent1ee37148a8072fe6350124cd51c812c3d3fb069a (diff)
downloadminetest-afb061c374ed6797f47b0806aba26845713d15ac.tar.xz
Fix broken server startup if curl is disabled (#12046)
Diffstat (limited to 'src/script/lua_api/l_http.h')
-rw-r--r--src/script/lua_api/l_http.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/lua_api/l_http.h b/src/script/lua_api/l_http.h
index 17fa283ba..8d084ecd9 100644
--- a/src/script/lua_api/l_http.h
+++ b/src/script/lua_api/l_http.h
@@ -41,9 +41,6 @@ private:
// http_fetch_async_get(handle)
static int l_http_fetch_async_get(lua_State *L);
- // set_http_api_lua() [internal]
- static int l_set_http_api_lua(lua_State *L);
-
// request_http_api()
static int l_request_http_api(lua_State *L);
@@ -51,6 +48,10 @@ private:
static int l_get_http_api(lua_State *L);
#endif
+ // set_http_api_lua() [internal]
+ static int l_set_http_api_lua(lua_State *L);
+
+
public:
static void Initialize(lua_State *L, int top);
static void InitializeAsync(lua_State *L, int top);