138 end |
138 end |
139 end |
139 end |
140 end |
140 end |
141 end |
141 end |
142 |
142 |
143 do_ports("c2s_ports", "xmppclient", {5222}, "tls"); |
143 do_ports("c2s_ports", "xmppclient", {5222}, (global_ssl_ctx and "tls") or "tcp"); |
144 do_ports("s2s_ports", "xmppserver", {5269}, "tcp"); |
144 do_ports("s2s_ports", "xmppserver", {5269}, "tcp"); |
145 do_ports("legacy_ssl_ports", "xmppclient", {}, "ssl"); |
145 do_ports("legacy_ssl_ports", "xmppclient", {}, "ssl"); |
146 |
146 |
147 if config.get("*", "core", "console_enabled") then |
147 if config.get("*", "core", "console_enabled") then |
148 if cl.get("console") then |
148 if cl.get("console") then |