Mercurial > prosody-modules
diff mod_storage_mongodb/mod_storage_mongodb.lua @ 831:0c3638673464
Merge upstream with my local LDAP work
author | Rob Hoelz <rob@hoelz.ro> |
---|---|
date | Tue, 18 Sep 2012 00:31:42 +0200 |
parents | 2469f779b3f7 |
children | fd420237a5e4 |
line wrap: on
line diff
--- a/mod_storage_mongodb/mod_storage_mongodb.lua Tue Sep 18 00:29:28 2012 +0200 +++ b/mod_storage_mongodb/mod_storage_mongodb.lua Tue Sep 18 00:31:42 2012 +0200 @@ -44,7 +44,7 @@ end; end -local driver = { name = "mongodb" }; +local driver = {}; function driver:open(store, typ) if not conn then @@ -61,4 +61,4 @@ return nil, "unsupported-store"; end -module:add_item("data-driver", driver); +module:provides("storage", driver);