From 801664fd10c462aeca3bc48646eced082e562710 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 16 Dec 2009 00:11:54 +0500 Subject: [PATCH] prosody: Fixed a possible nil concatenation. --- prosody | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prosody b/prosody index c3dd979a..4900349d 100755 --- a/prosody +++ b/prosody @@ -198,8 +198,8 @@ function init_global_state() 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 }); -- 2.30.2