Software /
code /
prosody
Diff
prosodyctl @ 11884:248477e45c64
prosodyctl: Fix weird indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 06 Nov 2021 18:45:44 +0100 |
parent | 11812:42e98179c034 |
child | 12102:949c2b52f51e |
line wrap: on
line diff
--- a/prosodyctl Wed Nov 03 14:36:58 2021 +0100 +++ b/prosodyctl Sat Nov 06 18:45:44 2021 +0100 @@ -19,8 +19,8 @@ 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