aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 10d1a4bc..d744700a 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);