From 6dd8ff0d00e3b5079e374afd0e36314a8e1f75d8 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 2 Nov 2011 00:00:42 +0500 Subject: prosody: Ensure prosody.paths.config is never nil (certmanager.create_context fails otherwise). --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody b/prosody index b354089b..e18b4e61 100755 --- a/prosody +++ b/prosody @@ -203,7 +203,7 @@ function init_global_state() -- path1;path2;path3;defaultpath... CFG_PLUGINDIR = table.concat(custom_plugin_paths, path_sep)..path_sep..(CFG_PLUGINDIR or "plugins"); end - prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR, + prosody.paths = { source = CFG_SOURCEDIR, config = CFG_CONFIGDIR or ".", plugins = CFG_PLUGINDIR or "plugins", data = data_path }; prosody.arg = _G.arg; -- cgit v1.2.3