aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/storagemanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index ee931d7d..3501d2c0 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -44,6 +44,7 @@ local function load_driver(host, driver_name)
if not driver then
if driver_name ~= "internal" then
modulemanager.load(host, "storage_"..driver_name);
+ return stores_available:get(host, driver_name);
else
return setmetatable({host = host}, default_driver_mt);
end