From 8046514220a2aebb98e5883c5965b8051a56e874 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Sun, 4 Nov 2018 14:38:41 +0300 Subject: [PATCH] Fix. init urlapi module on old versions --- src/lcurlapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lcurlapi.c b/src/lcurlapi.c index ea2d943..76ceede 100644 --- a/src/lcurlapi.c +++ b/src/lcurlapi.c @@ -194,5 +194,7 @@ void lcurl_url_initlib(lua_State *L, int nup){ lua_pop(L, 1); lcurl_util_set_const(L, lcurl_url_opt); +#else + lua_pop(L, nup); #endif }