diff options
author | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
commit | 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch) | |
tree | 69239d940028f6a8a29b1f6b0524d932d1553c7b /util/pluginloader.lua | |
parent | ece896d2532cc91ea95c0194e3db439c364235eb (diff) | |
download | prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.tar.gz prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.zip |
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
Diffstat (limited to 'util/pluginloader.lua')
-rw-r--r-- | util/pluginloader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pluginloader.lua b/util/pluginloader.lua index 77f893b4..f2ccb4cb 100644 --- a/util/pluginloader.lua +++ b/util/pluginloader.lua @@ -12,7 +12,7 @@ local lua_version = _VERSION:match(" (.+)$"); 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 |