aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/storage/mod_xep0227.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/storage/mod_xep0227.lua')
-rw-r--r--plugins/storage/mod_xep0227.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/storage/mod_xep0227.lua b/plugins/storage/mod_xep0227.lua
index b6d2e627..5d07a2ea 100644
--- a/plugins/storage/mod_xep0227.lua
+++ b/plugins/storage/mod_xep0227.lua
@@ -8,7 +8,7 @@ local os_remove = os.remove;
local io_open = io.open;
local st = require "util.stanza";
-local parse_xml_real = module:require("xmlparse");
+local parse_xml_real = require "util.xml".parse;
local function getXml(user, host)
local jid = user.."@"..host;
@@ -160,4 +160,4 @@ function driver:open(host, datastore, typ)
return instance;
end
-module:add_item("data-driver", driver);
+module:provides("storage", driver);