changeset 11888 | 248477e45c64 |
parent 11816 | 42e98179c034 |
child 12106 | 949c2b52f51e |
--- 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