aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
committerMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
commit10c321a29dae7e721ba168f5a05beca22e14e7f4 (patch)
tree575fdc7082baf42f3c7871cac1bc03d7fa65f905 /prosody
parent672f22b6f9036895ba3301bbee91abbe99b180be (diff)
parent63252575dfc7c74434c642beafd29e34e3c89c62 (diff)
downloadprosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.tar.gz
prosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.zip
Merge 0.10->trunk
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosody b/prosody
index 1895cf54..9a15af1c 100755
--- a/prosody
+++ b/prosody
@@ -20,8 +20,8 @@ CFG_DATADIR=CFG_DATADIR or os.getenv("PROSODY_DATADIR");
local function is_relative(path)
local path_sep = package.config:sub(1,1);
- return ((path_sep == "/" and path:sub(1,1) ~= "/")
- or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
+ return ((path_sep == "/" and path:sub(1,1) ~= "/")
+ or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
end
-- Tell Lua where to find our libraries