# HG changeset patch # User Waqas Hussain # Date 1347475570 -18000 # Node ID b41c33dc7c36f182b635b4dd2ad818a56ad4f636 # Parent b5a5643f8572de108f4ac8f989b0f923600af534 mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules. diff -r b5a5643f8572 -r b41c33dc7c36 plugins/mod_storage_internal.lua --- 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) diff -r b5a5643f8572 -r b41c33dc7c36 plugins/mod_storage_sql.lua --- 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