From c8aaba9697978b1c6a5362dd05236bbf6e94497a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 31 Jan 2010 16:22:52 +0000 Subject: prosody: Only set the ssl_ctx for 'ssl' connections --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosody') diff --git a/prosody b/prosody index 542787df..81152235 100755 --- a/prosody +++ b/prosody @@ -206,7 +206,7 @@ function init_global_state() log("error", "Non-numeric "..ports_option..": "..tostring(port)); else cl.start(listener, { - ssl = conntype ~= "tcp" and global_ssl_ctx, + ssl = conntype == "ssl" and global_ssl_ctx, port = port, interface = (option and config.get("*", "core", option.."_interface")) or cl.get(listener).default_interface -- cgit v1.2.3