diff options
author | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-08-16 09:26:36 -0700 |
---|---|---|
committer | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-08-16 09:26:36 -0700 |
commit | 7a596299b4c3fc79424130f2beb2cffe1a8caf02 (patch) | |
tree | 715443f20c51742ea9ceb58710227f015459ac16 /util | |
parent | 88f90d12ddb346a3a15602b01dbe394d98d4fadc (diff) | |
download | prosody-7a596299b4c3fc79424130f2beb2cffe1a8caf02.tar.gz prosody-7a596299b4c3fc79424130f2beb2cffe1a8caf02.zip |
util.startup: Changed the way util.paths.complement_lua_path was being accessed
Diffstat (limited to 'util')
-rw-r--r-- | util/startup.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua index a77237d5..02e5f012 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -231,7 +231,7 @@ function startup.setup_plugindir() local path_sep = package.config:sub(3,3); installer_plugin_path = config.resolve_relative_path(require "lfs".currentdir(), installer_plugin_path); require "lfs".mkdir(installer_plugin_path); - config.complement_lua_path(installer_plugin_path); + require"util.paths".complement_lua_path(installer_plugin_path); if custom_plugin_paths then -- path1;path2;path3;defaultpath... -- luacheck: ignore 111 |