Mercurial > prosody-hg
diff prosody @ 739:1def06cd9311
Port to new server.lua, quite some changes, but I believe everything to be working
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 17 Jan 2009 04:45:08 +0000 |
| parents | a92d647624a1 |
| children | 328b702fb80c |
line wrap: on
line diff
--- 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
