Fine tuning the "require" business.
This commit is contained in:
parent
c23240726e
commit
5ca1049ab4
17 changed files with 133 additions and 116 deletions
|
@ -6,11 +6,12 @@
|
|||
-- RCS ID: $Id$
|
||||
-----------------------------------------------------------------------------
|
||||
-- make sure LuaSocket is loaded
|
||||
require"socket"
|
||||
require("socket")
|
||||
-- get LuaSocket namespace
|
||||
local socket = _G[LUASOCKET_LIBNAME]
|
||||
|
||||
require"ltn12"
|
||||
require("ltn12")
|
||||
require("tp")
|
||||
|
||||
-- create smtp namespace inside LuaSocket namespace
|
||||
local smtp = socket.smtp or {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue