# HG changeset patch # User Kim Alvefur # Date 1452349219 -3600 # Node ID 3246d53ce0c387f3fe2867c9aecfb45b2e89db38 # Parent b5adfe72709b2951cfe8dd51ba34b8da27d47df5 mod_mam: Fix accidental global access diff -r b5adfe72709b -r 3246d53ce0c3 mod_mam/mod_mam.lua --- a/mod_mam/mod_mam.lua Sat Jan 09 14:18:07 2016 +0100 +++ b/mod_mam/mod_mam.lua Sat Jan 09 15:20:19 2016 +0100 @@ -44,7 +44,7 @@ return; elseif not archive.find then module:log("debug", "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_"..name.."(?)" or ""); + module:log("error", "mod_%s does not support archiving", archive._provided_by or archive.name and "storage_"..archive.name.."(?)" or ""); module:log("info", "See https://prosody.im/doc/storage and https://prosody.im/doc/archiving for more information"); return; end