diff options
Diffstat (limited to 'src/url.lua')
| -rw-r--r-- | src/url.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/url.lua b/src/url.lua index 08081f0..7f2c756 100644 --- a/src/url.lua +++ b/src/url.lua | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | local string = require("string") | 11 | local string = require("string") |
| 12 | local base = require("base") | 12 | local base = require("base") |
| 13 | local table = require("table") | 13 | local table = require("table") |
| 14 | local url = module("socket.url") | 14 | module("socket.url") |
| 15 | 15 | ||
| 16 | ----------------------------------------------------------------------------- | 16 | ----------------------------------------------------------------------------- |
| 17 | -- Encodes a string into its escaped hexadecimal representation | 17 | -- Encodes a string into its escaped hexadecimal representation |
| @@ -273,4 +273,4 @@ function build_path(parsed, unsafe) | |||
| 273 | return path | 273 | return path |
| 274 | end | 274 | end |
| 275 | 275 | ||
| 276 | base.setmetatable(url, nil) | 276 | base.getmetatable(_M).__index = nil |
