# HG changeset patch # User Waqas Hussain # Date 1260904314 -18000 # Node ID 0bd8408a491ca51574058620b739aca6d6495dfb # Parent b79e5ba69704edbb1a9b385812d6e93205b6ae10 prosody: Fixed a possible nil concatenation. diff -r b79e5ba69704 -r 0bd8408a491c prosody --- a/prosody Tue Dec 15 18:58:22 2009 +0000 +++ b/prosody Wed Dec 16 00:11:54 2009 +0500 @@ -208,8 +208,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 });