prosody

changeset 664
30ccc5e3d8c8
parent 658
1952fdcf1017
child 676
5e2dfeba1f14
--- a/prosody	Sun Dec 28 05:09:38 2008 +0000
+++ b/prosody	Mon Dec 29 22:31:10 2008 +0000
@@ -140,7 +140,7 @@
 	end
 end
 
-do_ports("c2s_ports", "xmppclient", {5222}, "tls");
+do_ports("c2s_ports", "xmppclient", {5222}, (global_ssl_ctx and "tls") or "tcp");
 do_ports("s2s_ports", "xmppserver", {5269}, "tcp");
 do_ports("legacy_ssl_ports", "xmppclient", {}, "ssl");
 

mercurial