changeset 8271 | e21d82551e05 |
parent 8206 | a7863f4aae65 |
parent 8267 | 23aee8ccfe9b |
child 8288 | 433b2a41351f |
--- a/prosody Thu Sep 21 02:36:28 2017 +0200 +++ b/prosody Tue Sep 26 17:24:25 2017 +0100 @@ -20,8 +20,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