Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 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 |
parent | 5121:b5a5643f8572 |
child | 5133:1443d1c37c6c |
line wrap: on
line diff
--- 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