diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-04-02 19:38:52 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-04-02 19:38:52 +0100 |
commit | 863f155efbaed606bd6d83bc052175e2d9bec2da (patch) | |
tree | 349661248b0188c6e8f0c0cfccb365bd46a8a164 /plugins | |
parent | 3e7bffe8c8c5c1ee0022dca4d1a5bb7b16d78b1b (diff) | |
download | prosody-863f155efbaed606bd6d83bc052175e2d9bec2da.tar.gz prosody-863f155efbaed606bd6d83bc052175e2d9bec2da.zip |
mod_mam: Remove extraneous assert when opening the store
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index 55572867..0c35f43f 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -38,7 +38,7 @@ local default_max_items, max_max_items = 20, module:get_option_number("max_archi 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 |