--- a/prosody Fri Jan 16 23:34:45 2009 +0000 +++ b/prosody Sat Jan 17 04:45:08 2009 +0000 @@ -133,7 +133,7 @@ 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