From 02a9f7e886999da17ebcadd0c94ffc5b6c6ed3b5 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Sun, 17 Jul 2011 17:17:23 +0100 Subject: [PATCH] Fixed bug where default quit message wouldn't display --- node/kiwi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/kiwi.js b/node/kiwi.js index 7d6263b..d5a9a3d 100644 --- a/node/kiwi.js +++ b/node/kiwi.js @@ -348,7 +348,7 @@ io.sockets.on('connection', function (websocket) { }); websocket.on('disconnect', function () { if ((!websocket.sentQUIT) && (websocket.ircSocket)) { - websocket.ircSocket.end('QUIT :' + config.quit_messages + '\r\n'); + websocket.ircSocket.end('QUIT :' + config.quit_message + '\r\n'); websocket.sentQUIT = true; websocket.ircSocket.destroySoon(); } -- 2.25.1