--- a/mod_mam_muc/mod_mam_muc.lua Tue Oct 28 15:25:32 2014 -0700
+++ b/mod_mam_muc/mod_mam_muc.lua Wed Oct 29 12:37:26 2014 +0100
@@ -36,11 +36,11 @@
local archive_store = "archive2";
local archive = module:open_store(archive_store, "archive");
if not archive or archive.name == "null" then
- module:log("error", "Could not open archive storage");
- return
+ module:log("error", "Could not open archive storage");
+ return
elseif not archive.find then
- module:log("error", "mod_%s does not support archiving, switch to mod_storage_sql2", archive._provided_by);
- return
+ module:log("error", "mod_%s does not support archiving, switch to mod_storage_sql2", archive._provided_by);
+ return
end
local send_history, save_to_history;