Made them independent of namespace.
This commit is contained in:
parent
90063f9e77
commit
3099704aff
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
local Public, Private = {}, {}
|
local Public, Private = {}, {}
|
||||||
|
local socket = _G[LUASOCKET_LIBNAME] -- get LuaSocket namespace
|
||||||
socket.url = Public
|
socket.url = Public
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue