aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_internal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r--plugins/mod_storage_internal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 92ac3ef5..75f6ec4e 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -2,7 +2,7 @@ local datamanager = require "core.storagemanager".olddm;
local host = module.host;
-local driver = { name = "internal" };
+local driver = {};
local driver_mt = { __index = driver };
function driver:open(store)
@@ -24,4 +24,4 @@ function driver:purge(user)
return datamanager.purge(user, host);
end
-module:add_item("data-driver", driver);
+module:provides("storage", driver);