# HG changeset patch # User Emmanuel Gil Peyrot # Date 1491158332 -3600 # Node ID eb9784561387b1482ff6aaea131219b04aa5d83e # Parent 55a56dc935f2217da1ae72c48ed089f6a184a0f8 mod_mam: Remove extraneous assert when opening the store diff -r 55a56dc935f2 -r eb9784561387 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Sun Apr 02 00:24:07 2017 +0200 +++ b/plugins/mod_mam/mod_mam.lua Sun Apr 02 19:38:52 2017 +0100 @@ -38,7 +38,7 @@ local strip_tags = module:get_option_set("dont_archive_namespaces", { "http://jabber.org/protocol/chatstates" }); local archive_store = module:get_option_string("archive_store", "archive"); -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 if not archive.find then