# HG changeset patch # User Waqas Hussain <waqas20@gmail.com> # Date 1260904314 -18000 # Node ID d591e2c90807b34501afcb9059372cd347283d51 # Parent a0ea72846b46a964cfc92d155e5518c99f5f31c9 prosody: Fixed a possible nil concatenation. diff -r a0ea72846b46 -r d591e2c90807 prosody --- a/prosody Thu Dec 10 22:13:04 2009 +0000 +++ b/prosody Wed Dec 16 00:11:54 2009 +0500 @@ -198,8 +198,8 @@ cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, - interface = config.get("*", "core", option.."_interface") - or cl.get(listener).default_interface + interface = (option and config.get("*", "core", option.."_interface")) + or cl.get(listener).default_interface or config.get("*", "core", "interface"), type = conntype });