From 993b008f483adbea6ce4756b23dc9b7b84bb4def Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Fri, 18 Nov 2011 12:59:27 +0000 Subject: [PATCH] Herp derp, correct check for null --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 74bc4c8..2837edb 100644 --- a/server/app.js +++ b/server/app.js @@ -873,7 +873,7 @@ this.websocketConnection = function (websocket) { callback = eol; eol = '\r\n'; } - eol = ((typeof eol === 'undefined') || (typeof eol === 'null')) ? '\r\n' : eol; + eol = ((typeof eol === 'undefined') || (eol === null)) ? '\r\n' : eol; try { websocket.ircConnection.write(data + eol, 'utf-8', callback); -- 2.25.1