X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=core%2Fconfigmanager.lua;h=d92120d03493e95175a6c06209c636613779bcf0;hb=0c57355593f4a80072884ac518683bfe86e4439a;hp=71f60c81952f32260b483ece8951255ee4c47123;hpb=f12247a65f9b2a14e998c88df28cf2bc452d358e;p=prosody.git diff --git a/core/configmanager.lua b/core/configmanager.lua index 71f60c81..d92120d0 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -77,7 +77,7 @@ do local is_relative; if path_sep == "/" and path:sub(1,1) ~= "/" then is_relative = true; - elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\" or path:sub(2,3) ~= ":/")) then + elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\" and path:sub(2,3) ~= ":/")) then is_relative = true; end if is_relative then