aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-24 05:46:24 +0200
committerKim Alvefur <zash@zash.se>2017-09-24 05:46:24 +0200
commit2bcd4e9b0f51f6e4a6854edf1ad4aeef063ed7ca (patch)
tree8dfa9237f1068fd6392f0992a44ea5b8dd2ab9c8 /prosody
parent9c1cbdf6125c08e9bac5331f13e8dd6dd01c9f67 (diff)
downloadprosody-2bcd4e9b0f51f6e4a6854edf1ad4aeef063ed7ca.tar.gz
prosody-2bcd4e9b0f51f6e4a6854edf1ad4aeef063ed7ca.zip
prosody: Tiny whitespace fix
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosody b/prosody
index a9ef6117..da204214 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