# HG changeset patch # User Kim Alvefur # Date 1490066303 -3600 # Node ID 17883c405df31bb8e65f7c1bc2f0bdf8b2cbe5d7 # Parent 8c6562f164962412bee190c763b2dbe2b14b94ac mod_mam_muc: Shorten some lines [luacheck] diff -r 8c6562f16496 -r 17883c405df3 mod_mam_muc/mod_mam_muc.lua --- a/mod_mam_muc/mod_mam_muc.lua Sat Mar 18 00:20:04 2017 +0100 +++ b/mod_mam_muc/mod_mam_muc.lua Tue Mar 21 04:18:23 2017 +0100 @@ -1,5 +1,5 @@ -- XEP-0313: Message Archive Management for Prosody MUC --- Copyright (C) 2011-2014 Kim Alvefur +-- Copyright (C) 2011-2017 Kim Alvefur -- -- This file is MIT/X11 licensed. @@ -49,8 +49,9 @@ if archive.name == "null" or not archive.find then if not archive.find then - module:log("error", "Attempt to open archive storage returned a valid driver but it does not seem to implement the storage API"); - module:log("error", "mod_%s does not support archiving", archive._provided_by or archive.name and "storage_"..archive.name.."(?)" or ""); + module:log("error", "Attempt to open archive storage returned a driver without archive API support"); + module:log("error", "mod_%s does not support archiving", + archive._provided_by or archive.name and "storage_"..archive.name.."(?)" or ""); else module:log("error", "Attempt to open archive storage returned null driver"); end