aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_internal.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-12 23:41:28 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-12 23:41:28 +0500
commit66f46ff6ef421dca6831e5bf5e26997333b1188c (patch)
tree8232a35e4a72f1529167fa67c643a5096e15f02c /plugins/mod_storage_internal.lua
parent025eca8452019482ca9840c488f22f43510185bc (diff)
downloadprosody-66f46ff6ef421dca6831e5bf5e26997333b1188c.tar.gz
prosody-66f46ff6ef421dca6831e5bf5e26997333b1188c.zip
core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r--plugins/mod_storage_internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 92ac3ef5..b72f08e6 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -24,4 +24,4 @@ function driver:purge(user)
return datamanager.purge(user, host);
end
-module:add_item("data-driver", driver);
+module:provides("storage", driver);