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 | 68f40ef5ff40602553077c333e5f050b1edbb1c0 (patch) | |
tree | 715443f20c51742ea9ceb58710227f015459ac16 /util | |
parent | ce4f9d56d998d47c6466a7ae2edd1149d88bd334 (diff) | |
download | prosody-68f40ef5ff40602553077c333e5f050b1edbb1c0.tar.gz prosody-68f40ef5ff40602553077c333e5f050b1edbb1c0.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 |