aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-30 06:14:41 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-30 06:14:41 +0500
commit1f61290ffd69e4b7e1d953f43fcbbf2f4586ada6 (patch)
tree74e175c80a74d50cce61281f489dab87fb219ffb
parent5595358cb096a37c8f235f751e7dfbd8d5b4c6df (diff)
downloadprosody-1f61290ffd69e4b7e1d953f43fcbbf2f4586ada6.tar.gz
prosody-1f61290ffd69e4b7e1d953f43fcbbf2f4586ada6.zip
Path fix for auto-creating directories
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 10aea492..77f72e7f 100755
--- a/prosody
+++ b/prosody
@@ -94,7 +94,7 @@ local defined_hosts = config.getconfig();
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