From bd1c24ee1c7fe6c5eb0889cd12cb5beeb9347ab3 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Sun, 15 Mar 2015 23:52:46 +0100 Subject: [PATCH] jshint: Remove Confusing use of '!' --- lib/cartodb/server_options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 93f08e09..8c50a0d1 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -381,7 +381,7 @@ module.exports = function(redisPool) { return; } // console.log("Matches: "); console.dir(mat); - if ( ! mat.length === 2 ) { + if ( mat.length !== 2 ) { console.error("ERROR: pattern '" + this.re_userFromHost + "' gave unexpected matches against '" + host + "': " + mat); return;