From: Darren Date: Sat, 29 Oct 2011 22:36:01 +0000 (+0100) Subject: Startup output fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=deadd643dedba4c07625363d204afce0a9c2d708;p=KiwiIRC.git Startup output fix --- diff --git a/server/app.js b/server/app.js index 432806a..8e21f18 100644 --- a/server/app.js +++ b/server/app.js @@ -742,13 +742,13 @@ this.websocketListen = function (servers, handler) { hs = https.createServer(opts, handler); kiwi.io.push(ws.listen(hs, {secure: true})); hs.listen(server.port, server.address); - kiwi.log("Listening on %s:%d with SSL", server.address, server.port); + kiwi.log('Listening on ' + server.address + ':' + server.port.toString() + ' with SSL'); } else { // Start some plain-text server up hs = http.createServer(handler); kiwi.io.push(ws.listen(hs, {secure: false})); hs.listen(server.port, server.address); - kiwi.log("Listening on %s:%d without SSL", server.address, server.port); + kiwi.log('Listening on ' + server.address + ':' + server.port.toString() + ' without SSL'); } kiwi.httpServers.push(hs);