1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix broken server startup if curl is disabled (#12046)

This commit is contained in:
sfan5 2022-02-04 20:29:28 +01:00 committed by GitHub
parent 1ee37148a8
commit afb061c374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 17 deletions

View file

@ -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);