aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-12 23:46:10 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-12 23:46:10 +0500
commitdb36af380f35608bfabfaf65c9c0b5ad387317f6 (patch)
tree1b62712145e90a7f2188c78b0540c5a585c7f442 /plugins
parent66f46ff6ef421dca6831e5bf5e26997333b1188c (diff)
downloadprosody-db36af380f35608bfabfaf65c9c0b5ad387317f6.tar.gz
prosody-db36af380f35608bfabfaf65c9c0b5ad387317f6.zip
mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_internal.lua2
-rw-r--r--plugins/mod_storage_sql.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index b72f08e6..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)
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index f7c0da7c..ebc337bf 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -365,7 +365,7 @@ function list_store:scan(username, from, to, jid, typ)
return nil, "not-implemented"
end
-local driver = { name = "sql" };
+local driver = {};
function driver:open(store, typ)
if not typ then -- default key-value store