X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fxml.lua;h=733d821ad7c8b87dc93d7e4a0b3ab2cfa030fd85;hb=1fa258876ff1445ae9bf738f87793de1ebde71dc;hp=88ccedde40ca4b8a44ab3048a2a60b4f199ccfba;hpb=41977f3e683e553a2a96b23b467e2ac6b8c3cec3;p=prosody.git diff --git a/util/xml.lua b/util/xml.lua index 88ccedde..733d821a 100644 --- a/util/xml.lua +++ b/util/xml.lua @@ -2,7 +2,7 @@ local st = require "util.stanza"; local lxp = require "lxp"; -module("xml") +local _ENV = nil; local parse_xml = (function() local ns_prefixes = { @@ -54,5 +54,6 @@ local parse_xml = (function() end; end)(); -parse = parse_xml; -return _M; +return { + parse = parse_xml; +};