Software /
code /
prosody
Changeset
5122:b41c33dc7c36
mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 12 Sep 2012 23:46:10 +0500 |
parents | 5121:b5a5643f8572 |
children | 5123:7c5c86fa552e |
files | plugins/mod_storage_internal.lua plugins/mod_storage_sql.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_internal.lua Wed Sep 12 23:41:28 2012 +0500 +++ b/plugins/mod_storage_internal.lua Wed Sep 12 23:46:10 2012 +0500 @@ -2,7 +2,7 @@ local host = module.host; -local driver = { name = "internal" }; +local driver = {}; local driver_mt = { __index = driver }; function driver:open(store)
--- a/plugins/mod_storage_sql.lua Wed Sep 12 23:41:28 2012 +0500 +++ b/plugins/mod_storage_sql.lua Wed Sep 12 23:46:10 2012 +0500 @@ -365,7 +365,7 @@ return nil, "not-implemented" end -local driver = { name = "sql" }; +local driver = {}; function driver:open(store, typ) if not typ then -- default key-value store