Changeset

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 2661:1d734acabd46
children 2663:6e8c3fc48237
files mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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