diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-06 18:45:44 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-06 18:45:44 +0100 |
commit | 4dbcac163337364d34e3e2a05e07d4cb001238f7 (patch) | |
tree | 1fadca5272a3059d54e46673f69323267b284ffb | |
parent | 9b980ad640333233d0dc5f66393236a34a1c3543 (diff) | |
download | prosody-4dbcac163337364d34e3e2a05e07d4cb001238f7.tar.gz prosody-4dbcac163337364d34e3e2a05e07d4cb001238f7.zip |
prosodyctl: Fix weird indentation
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,8 +19,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 |