From 1f61290ffd69e4b7e1d953f43fcbbf2f4586ada6 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 30 Nov 2008 06:14:41 +0500 Subject: Path fix for auto-creating directories --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosody') 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 -- cgit v1.2.3