Changeset

4409:c8f7ae9381cd

prosody: Ensure prosody.paths.config is never nil (certmanager.create_context fails otherwise).
author Waqas Hussain <waqas20@gmail.com>
date Wed, 02 Nov 2011 00:00:42 +0500
parents 4408:21881619a394
children 4411:cf4e49b250c7
files prosody
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Tue Nov 01 23:57:42 2011 +0500
+++ b/prosody	Wed Nov 02 00:00:42 2011 +0500
@@ -203,7 +203,7 @@
 		-- 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;