diff options
author | sfan5 <sfan5@live.de> | 2022-02-04 20:29:28 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-05-12 11:36:39 +0200 |
commit | 26d0c0fd8d06fcb3d2cdf4efadfcf993772a8e87 (patch) | |
tree | 291df7da9237db29f017509243d7179d63789a93 /src/script/lua_api/l_http.h | |
parent | 3afffcd36b2e23a2301e3dbcfdee30bd27fbf5e7 (diff) | |
download | minetest-26d0c0fd8d06fcb3d2cdf4efadfcf993772a8e87.tar.gz minetest-26d0c0fd8d06fcb3d2cdf4efadfcf993772a8e87.tar.bz2 minetest-26d0c0fd8d06fcb3d2cdf4efadfcf993772a8e87.zip |
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.h | 7 |
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); |