# HG changeset patch # User Kim Alvefur # Date 1414582646 -3600 # Node ID ef032840bc9217a3cbb14bde9d3177e386876738 # Parent 0c26b1638f8c0880e2294ae7759c516da8749dbb mod_mam_muc: Fix indentation diff -r 0c26b1638f8c -r ef032840bc92 mod_mam_muc/mod_mam_muc.lua --- 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;