mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Changes due to new compat-5.1
This commit is contained in:
@ -15,7 +15,7 @@ local socket = require("socket")
|
||||
local url = require("socket.url")
|
||||
local tp = require("socket.tp")
|
||||
|
||||
local dict = module("socket.dict")
|
||||
module("socket.dict")
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- Globals
|
||||
@ -151,4 +151,4 @@ get = socket.protect(function(gett)
|
||||
else return tget(gett) end
|
||||
end)
|
||||
|
||||
base.setmetatable(dict, nil)
|
||||
base.getmetatable(_M).__index = nil
|
||||
|
Reference in New Issue
Block a user