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;