From 41f8593f25980e94201a0c3280e8899715872ede Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Tue, 19 Jan 2010 18:21:47 +0100 Subject: [PATCH] url: turn into proper module Signed-off-by: Gordon Hecker --- generic/url.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/generic/url.lua b/generic/url.lua index a3d913c..9354d7c 100644 --- a/generic/url.lua +++ b/generic/url.lua @@ -25,6 +25,8 @@ along with this program. If not, see . ]] +module("url", package.seeall) + --- parse -- @param url the url to parse -- @return a table holding all parsed parts of the url, or nil on error @@ -72,6 +74,3 @@ function parse(url) end return u, nil end - -url = {} -url.parse = parse -- 2.39.5