Changeset

1357:67990f8d8228

mod_muc_log: Make sure base path is created
author Kim Alvefur <zash@zash.se>
date Wed, 19 Mar 2014 14:03:46 +0100
parents 1356:a74ba847195a
children 1358:497e1df4b7ee
files mod_muc_log/mod_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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