diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-17 04:45:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-17 04:45:08 +0000 |
commit | c0dbcb4389fa5470c9fc7f674fc7fa698b693c02 (patch) | |
tree | 989f31c69447cb405c148c4eb3bcb067652844f0 /prosody | |
parent | 5da8d030772c430bafef92bab6fa3d43767695b2 (diff) | |
download | prosody-c0dbcb4389fa5470c9fc7f674fc7fa698b693c02.tar.gz prosody-c0dbcb4389fa5470c9fc7f674fc7fa698b693c02.zip |
Port to new server.lua, quite some changes, but I believe everything to be working
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |