Almost there.

This commit is contained in:
Diego Nehab 2004-05-28 07:47:41 +00:00
parent 84f03fda7c
commit 6c565dd7c0
11 changed files with 20 additions and 14 deletions

View file

@ -6,10 +6,9 @@
-- RCS ID: $Id$
-----------------------------------------------------------------------------
-- make sure LuaSocket is loaded
if not LUASOCKET_LIBNAME then error('module requires LuaSocket') end
require("luasocket")
-- get LuaSocket namespace
local socket = _G[LUASOCKET_LIBNAME]
if not socket then error('module requires LuaSocket') end
-- require other modules
require("ltn12")