aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-04-02 19:38:52 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-04-02 19:38:52 +0100
commit88a828de4d502eec14ed4bc71e648af83e947db5 (patch)
tree349661248b0188c6e8f0c0cfccb365bd46a8a164 /plugins
parent3811ceb6cac48480c300c6ed09dc555e5cec754d (diff)
downloadprosody-88a828de4d502eec14ed4bc71e648af83e947db5.tar.gz
prosody-88a828de4d502eec14ed4bc71e648af83e947db5.zip
mod_mam: Remove extraneous assert when opening the store
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
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