Sun, 30 Nov 2008 06:14:41 +0500
Path fix for auto-creating directories
prosody | file | annotate | diff | comparison | revisions |
--- 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