Commit a057b3d7 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents fc8a6e60 a4096a16
...@@ -3982,5 +3982,6 @@ if settings.modules.http ...@@ -3982,5 +3982,6 @@ if settings.modules.http
cert: fs.readFileSync(settings.modules.http.ssl.cert) cert: fs.readFileSync(settings.modules.http.ssl.cert)
key: fs.readFileSync(settings.modules.http.ssl.key) key: fs.readFileSync(settings.modules.http.ssl.key)
https_server = https.createServer(options, requestListener) 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 https_server.listen settings.modules.http.ssl.port
...@@ -5148,7 +5148,9 @@ ...@@ -5148,7 +5148,9 @@
key: fs.readFileSync(settings.modules.http.ssl.key) key: fs.readFileSync(settings.modules.http.ssl.key)
}; };
https_server = https.createServer(options, requestListener); 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); 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