prosody

changeset 739
1def06cd9311
parent 687
a92d647624a1
child 744
328b702fb80c
equal deleted inserted replaced
738:cf70342985df 739:1def06cd9311
131 else 131 else
132 for _, port in ipairs(ports) do 132 for _, port in ipairs(ports) do
133 if type(port) ~= "number" then 133 if type(port) ~= "number" then
134 log("error", "Non-numeric "..option..": "..tostring(port)); 134 log("error", "Non-numeric "..option..": "..tostring(port));
135 else 135 else
136 cl.start(listener, { ssl = global_ssl_ctx, port = port, type = conntype }); 136 cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, type = conntype });
137 end 137 end
138 end 138 end
139 end 139 end
140 end 140 end
141 141

mercurial