From c0dbcb4389fa5470c9fc7f674fc7fa698b693c02 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 17 Jan 2009 04:45:08 +0000 Subject: Port to new server.lua, quite some changes, but I believe everything to be working --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosody') diff --git a/prosody b/prosody index b9e927fb..2c601adb 100755 --- a/prosody +++ b/prosody @@ -133,7 +133,7 @@ local function do_ports(option, listener, default, conntype) if type(port) ~= "number" then log("error", "Non-numeric "..option..": "..tostring(port)); else - cl.start(listener, { ssl = global_ssl_ctx, port = port, type = conntype }); + cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, type = conntype }); end end end -- cgit v1.2.3