author | Kim Alvefur <zash@zash.se> |
Sat, 06 Nov 2021 18:45:44 +0100 | |
changeset 11888 | 248477e45c64 |
parent 11887 | 97aa4b2fe4e0 |
child 11889 | 197642f9972f |
prosodyctl | file | annotate | diff | comparison | revisions |
--- 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