Software /
code /
prosody-modules
Changeset
1541:ef032840bc92
mod_mam_muc: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 29 Oct 2014 12:37:26 +0100 |
parents | 1540:0c26b1638f8c |
children | 1542:ccb9dc624ebd |
files | mod_mam_muc/mod_mam_muc.lua |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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;