aboutsummaryrefslogtreecommitdiff
path: root/src/url.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-02-04 14:29:11 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-02-04 14:29:11 +0000
commit0b2542d1a61fc5425ff65ab3dbf7ba7de174763f (patch)
tree8a6188e11db0c9ef6891c31e8a1bebca050b23b2 /src/url.lua
parentf67864f86c7d703325e86b14d0ba33992c52891b (diff)
downloadluasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.gz
luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.tar.bz2
luasocket-0b2542d1a61fc5425ff65ab3dbf7ba7de174763f.zip
Worked on the manual.
Implemented stuffing (needs test) Added cddb and qp examples.
Diffstat (limited to 'src/url.lua')
-rw-r--r--src/url.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.lua b/src/url.lua
index ab3a922..de0474b 100644
--- a/src/url.lua
+++ b/src/url.lua
@@ -12,7 +12,7 @@ if not LUASOCKET_LIBNAME then error('module requires LuaSocket') end
12local socket = _G[LUASOCKET_LIBNAME] 12local socket = _G[LUASOCKET_LIBNAME]
13if not socket then error('module requires LuaSocket') end 13if not socket then error('module requires LuaSocket') end
14-- create smtp namespace inside LuaSocket namespace 14-- create smtp namespace inside LuaSocket namespace
15local url = {} 15local url = socket.url or {}
16socket.url = url 16socket.url = url
17-- make all module globals fall into smtp namespace 17-- make all module globals fall into smtp namespace
18setmetatable(url, { __index = _G }) 18setmetatable(url, { __index = _G })