# HG changeset patch # User Kim Alvefur # Date 1395234226 -3600 # Node ID 67990f8d8228c7b63232cc5e0620cf26620a3ccc # Parent a74ba847195a694a82b4b794f22c783dc4934ea7 mod_muc_log: Make sure base path is created diff -r a74ba847195a -r 67990f8d8228 mod_muc_log/mod_muc_log.lua --- a/mod_muc_log/mod_muc_log.lua Tue Mar 18 16:09:51 2014 +0100 +++ b/mod_muc_log/mod_muc_log.lua Wed Mar 19 14:03:46 2014 +0100 @@ -96,6 +96,7 @@ end end end + datamanager.getpath(node, host, datastore, nil, true); -- create the datastore dir data_store(node, host, datastore .. "/" .. today, data); end end