Software /
code /
prosody
Changeset
8264:23aee8ccfe9b
prosody: Tiny whitespace fix
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Sep 2017 05:46:24 +0200 |
parents | 8263:9b52b1f19b51 |
children | 8265:17ebd8ac8545 |
files | prosody |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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