Fix regression due to 353d261
authorJack Allnutt <jack@allnutt.eu>
Thu, 12 Jun 2014 22:18:43 +0000 (23:18 +0100)
committerJack Allnutt <jack@allnutt.eu>
Thu, 12 Jun 2014 22:18:43 +0000 (23:18 +0100)
server/irc/connection.js

index 4d582eae387bb85ab211c80d508e2edd4d8e55f1..dc51a40d35ff89cc63a164ec50bc13bc2ce42b37 100644 (file)
@@ -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;
         }