plugins/mod_mam/mod_mam.lua
changeset 8050 eb9784561387
parent 8003 42dd766cfe97
child 8135 6ddddfe05a74
--- 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