Last line of modules was simplified.

This commit is contained in:
Diego Nehab 2004-12-23 23:17:01 +00:00
parent 2f970d782e
commit a8254e94f8
11 changed files with 11 additions and 11 deletions

View File

@ -151,4 +151,4 @@ get = socket.protect(function(gett)
else return tget(gett) end
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -318,4 +318,4 @@ query = socket.protect(function(p)
return data
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -153,4 +153,4 @@ get = socket.protect(function(gett)
else return tget(gett) end
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -278,4 +278,4 @@ get = socket.protect(function(gett)
else return tget(gett) end
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -259,4 +259,4 @@ request = socket.protect(function(reqt, body)
else return trequest(reqt) end
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -276,4 +276,4 @@ function pump.all(src, snk, step)
end
end
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -85,4 +85,4 @@ function mime.stuff()
return ltn12.filter.cycle(dot, 2)
end
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -245,4 +245,4 @@ send = socket.protect(function(mailt)
return s:close()
end)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -172,4 +172,4 @@ socket.sourcet["default"] = socket.sourcet["until-closed"]
socket.source = socket.choose(socket.sourcet)
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil

View File

@ -120,4 +120,4 @@ function connect(host, port, timeout)
return base.setmetatable({c = c}, metat)
end
base.getmetatable(_M).__index
getmetatable(_M).__index = nil

View File

@ -273,4 +273,4 @@ function build_path(parsed, unsafe)
return path
end
base.getmetatable(_M).__index = nil
getmetatable(_M).__index = nil