Software /
code /
prosody
Changeset
8733:6a234e77c99f
util.startup: Fix traceback due to both plugin path becoming nil if plugin_paths is unset
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Apr 2018 16:50:51 +0200 |
parents | 8732:863f66cdd1df |
children | 8734:36d49a9c5e88 |
files | util/startup.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/startup.lua Fri Apr 06 01:46:14 2018 +0200 +++ b/util/startup.lua Fri Apr 06 16:50:51 2018 +0200 @@ -220,8 +220,8 @@ -- path1;path2;path3;defaultpath... -- luacheck: ignore 111 CFG_PLUGINDIR = table.concat(custom_plugin_paths, path_sep)..path_sep..(CFG_PLUGINDIR or "plugins"); + prosody.paths.plugins = CFG_PLUGINDIR; end - prosody.paths.plugins = CFG_PLUGINDIR; end function startup.chdir()