diff options
author | Waqas Hussain <waqas20@gmail.com> | 2012-09-12 23:41:28 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2012-09-12 23:41:28 +0500 |
commit | 7daf3c7c14d6aa8adb83c80a23a64ad356aecb08 (patch) | |
tree | 8232a35e4a72f1529167fa67c643a5096e15f02c /core/storagemanager.lua | |
parent | d9d38ef125272cd4eaf93453275cc9078b7e8281 (diff) | |
download | prosody-7daf3c7c14d6aa8adb83c80a23a64ad356aecb08.tar.gz prosody-7daf3c7c14d6aa8adb83c80a23a64ad356aecb08.zip |
core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index 1b76a394..18e2e7f9 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -33,12 +33,12 @@ local stores_available = multitable.new(); function initialize_host(host) local host_session = hosts[host]; - host_session.events.add_handler("item-added/data-driver", function (event) + host_session.events.add_handler("item-added/storage-provider", function (event) local item = event.item; stores_available:set(host, item.name, item); end); - host_session.events.add_handler("item-removed/data-driver", function (event) + host_session.events.add_handler("item-removed/storage-provider", function (event) local item = event.item; stores_available:set(host, item.name, nil); end); |