From 27bca914b2b921d6b0b08e2d6afac0cc9c9cfe80 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Thu, 12 Jun 2014 23:18:43 +0100 Subject: [PATCH] Fix regression due to 353d261 --- server/irc/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/connection.js b/server/irc/connection.js index 4d582ea..dc51a40 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -460,7 +460,7 @@ IrcConnection.prototype.setEncoding = function (encoding) { //This test is done to check if this encoding also supports //the ASCII charset required by the IRC protocols //(Avoid the use of base64 or incompatible encodings) - if (encoded_test === "TEST") { + if (encoded_test == "TEST") { // jshint ignore:line this.encoding = encoding; return true; } -- 2.25.1