prosody

changeset 739
1def06cd9311
parent 687
a92d647624a1
child 744
328b702fb80c
--- 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

mercurial