changeset 8267 | 23aee8ccfe9b |
parent 8205 | 85a60e863509 |
child 8271 | e21d82551e05 |
child 8279 | 5ebad58b2548 |
--- a/prosody Sun Sep 24 01:04:56 2017 +0200 +++ b/prosody Sun Sep 24 05:46:24 2017 +0200 @@ -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