Software /
code /
prosody
Diff
util/pluginloader.lua @ 12387:05c250fa335a
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2022 00:13:56 +0100 |
parent | 12255:a3ad9cf740d6 |
child | 12975:d10957394a3c |
line wrap: on
line diff
--- a/util/pluginloader.lua Sun Mar 06 15:13:50 2022 +0100 +++ b/util/pluginloader.lua Mon Mar 07 00:13:56 2022 +0100 @@ -12,7 +12,7 @@ local plugin_dir = {}; for path in (CFG_PLUGINDIR or "./plugins/"):gsub("[/\\]", dir_sep):gmatch("[^"..path_sep.."]+") do path = path..dir_sep; -- add path separator to path end - path = path:gsub(dir_sep..dir_sep.."+", dir_sep); -- coalesce multiple separaters + path = path:gsub(dir_sep..dir_sep.."+", dir_sep); -- coalesce multiple separators plugin_dir[#plugin_dir + 1] = path; end