prosody

changeset 2548
e12acef85166
parent 2514
163b2aef5aff
child 2550
445b1de5652e
--- a/prosody	Sun Jan 31 15:44:55 2010 +0000
+++ b/prosody	Sun Jan 31 16:22:52 2010 +0000
@@ -206,7 +206,7 @@
 					log("error", "Non-numeric "..ports_option..": "..tostring(port));
 				else
 					cl.start(listener, { 
-						ssl = conntype ~= "tcp" and global_ssl_ctx,
+						ssl = conntype == "ssl" and global_ssl_ctx,
 						port = port,
 						interface = (option and config.get("*", "core", option.."_interface"))
 							or cl.get(listener).default_interface

mercurial