Changeset

500:6468ea154296

Path fix for auto-creating directories
author Waqas Hussain <waqas20@gmail.com>
date Sun, 30 Nov 2008 06:14:41 +0500
parents 499:29f165027f07
children 501:ea61e191043e
files prosody
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Sun Nov 30 01:02:12 2008 +0000
+++ b/prosody	Sun Nov 30 06:14:41 2008 +0500
@@ -94,7 +94,7 @@
 for host, host_config in pairs(defined_hosts) do
 	if host ~= "*" and (host_config.core.enabled == nil or host_config.core.enabled) then
 		hosts[host] = {type = "local", connected = true, sessions = {}, host = host, s2sout = {} };
-		mkdirs(data_path.."/"..host);
+		mkdirs(host);
 	end
 end