aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-30 18:51:55 +0200
committerKim Alvefur <zash@zash.se>2013-08-30 18:51:55 +0200
commitde73199559cf16a5381e2c89d356038b3afc01ce (patch)
treea019e1eb544e67b6d900165e113e9827e022c293 /core/configmanager.lua
parent23b581bb094c1dcd18043d40667b97c4469ad48b (diff)
downloadprosody-de73199559cf16a5381e2c89d356038b3afc01ce.tar.gz
prosody-de73199559cf16a5381e2c89d356038b3afc01ce.zip
configmanager: Fix checking of absolute paths on Windows
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 9720f48a..d73bafa4 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