diff mod_muc_log/mod_muc_log.lua @ 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 7dbde05b48a9
children 5107278268ae
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