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
commitaff71e544ec119a81412f2b583c4de5fbe532fb5 (patch)
tree1b62712145e90a7f2188c78b0540c5a585c7f442 /plugins
parent7daf3c7c14d6aa8adb83c80a23a64ad356aecb08 (diff)
downloadprosody-aff71e544ec119a81412f2b583c4de5fbe532fb5.tar.gz
prosody-aff71e544ec119a81412f2b583c4de5fbe532fb5.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