diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-07-05 06:11:32 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-07-05 06:11:32 +0000 |
| commit | 3099704affa1fda195eb8f3934f6c1f18bf1f706 (patch) | |
| tree | 49a4ef10d8608fbfc3f58ee9dfca4f80d6f833ae /src | |
| parent | 90063f9e77e08b24fa4f1d677932760cd795cc5c (diff) | |
| download | luasocket-3099704affa1fda195eb8f3934f6c1f18bf1f706.tar.gz luasocket-3099704affa1fda195eb8f3934f6c1f18bf1f706.tar.bz2 luasocket-3099704affa1fda195eb8f3934f6c1f18bf1f706.zip | |
Made them independent of namespace.
Diffstat (limited to 'src')
| -rw-r--r-- | src/url.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/url.lua b/src/url.lua index 65da57a..27e7928 100644 --- a/src/url.lua +++ b/src/url.lua | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | ---------------------------------------------------------------------------- | 7 | ---------------------------------------------------------------------------- |
| 8 | 8 | ||
| 9 | local Public, Private = {}, {} | 9 | local Public, Private = {}, {} |
| 10 | local socket = _G[LUASOCKET_LIBNAME] -- get LuaSocket namespace | ||
| 10 | socket.url = Public | 11 | socket.url = Public |
| 11 | 12 | ||
| 12 | ----------------------------------------------------------------------------- | 13 | ----------------------------------------------------------------------------- |
