Commit a4096a16 authored by nanahira's avatar nanahira

fix

parent c0990e2a
......@@ -3455,5 +3455,6 @@ if settings.modules.http
cert: fs.readFileSync(settings.modules.http.ssl.cert)
key: fs.readFileSync(settings.modules.http.ssl.key)
https_server = https.createServer(options, requestListener)
roomlist.init https_server, ROOM_all
if settings.modules.http.websocket_roomlist and roomlist
roomlist.init https_server, ROOM_all
https_server.listen settings.modules.http.ssl.port
......@@ -4429,7 +4429,9 @@
key: fs.readFileSync(settings.modules.http.ssl.key)
};
https_server = https.createServer(options, requestListener);
roomlist.init(https_server, ROOM_all);
if (settings.modules.http.websocket_roomlist && roomlist) {
roomlist.init(https_server, ROOM_all);
}
https_server.listen(settings.modules.http.ssl.port);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment