Mercurial > prosody-modules
diff mod_mam/mod_mam.lua @ 2662:2d5e0e2938d1
mod_mam: Remove extraneous assert when opening the store
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 02 Apr 2017 19:44:59 +0100 |
parents | 0f44d04d0d18 |
children | ff1f7e61517f |
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua Thu Mar 30 23:47:03 2017 +0200 +++ b/mod_mam/mod_mam.lua Sun Apr 02 19:44:59 2017 +0100 @@ -41,7 +41,7 @@ end local archive_store = module:get_option_string("archive_store", "archive2"); -local archive = assert(module:open_store(archive_store, "archive")); +local archive = module:open_store(archive_store, "archive"); if archive.name == "null" or not archive.find then -- luacheck: ignore 631